Skip to content

#304191 Color

#304191 is rgb(48, 65, 145) in RGB, hsl(229, 50%, 38%) in HSL, and about cmyk(67%, 55%, 0%, 43%) in CMYK. It has no registered color name of its own — the closest is Dark Slate Blue (#483D8B), clearly related but distinguishable side by side at ΔE 8.09. White text is the more readable choice on this background.

#304191
HEX#304191
RGBrgb(48, 65, 145)
HSLhsl(229, 50%, 38%)
HSVhsv(229, 67%, 57%)
CMYKcmyk(67%, 55%, 0%, 43%)
OKLCHoklch(40.9% 0.133 270.4)
LABlab(29.82% 14.74 -47.29)
LCHlch(29.82% 49.53 287.31)

What #304191 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #304191, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every blue in the library.

#304191 Channel Values

How #304191 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 48 · G 65 · B 1458-bit channels as sent to the display
HSLH 229° · S 50% · L 38%Easiest model for building lighter and darker variants
HSVH 229° · S 67% · V 57%Matches the picker in most design tools
CMYKC 67% · M 55% · Y 0% · K 43%Approximate ink mix; confirm with an ICC profile before printing
Luminance9.17:1 vs white · 2.29:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #304191 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text9.17:1AA normal AA large AAA normal
Fails AABlack text2.29:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #304191 in the contrast checker.

Colors That Go With #304191

Pairings derived from color-wheel relationships. The complementary color sits opposite #304191; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #304191

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #304191.

How #304191 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#304191
Protanopia#3E3E91
Protanomaly#393F91
Deuteranopia#3C3C91
Deuteranomaly#383E91
Tritanopia#015151
Tritanomaly#1D4B70
Achromatopsia#484848

Test a full palette in the color blindness simulator.

Using #304191 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-304191: #304191;
CSS backgroundbackground-color: #304191;
Tailwind configcolors: { 'color-304191': '#304191' }
SwiftUIColor(red: 0.188, green: 0.255, blue: 0.569)
Android XML<color name="color_304191">#304191</color>
SVG fillfill="#304191"

More Blue Colors

#304191 sits in the blue family. These are its neighbours across that family's full range, each with its own breakdown.

#304191 Frequently Asked Questions

What color is #304191?

#304191 is a dark blue — rgb(48, 65, 145) in RGB and hsl(229, 50%, 38%) in HSL. It carries no registered color name of its own; the closest named color is Dark Slate Blue (#483D8B), which is clearly related but distinguishable side by side at a CIE76 distance of 8.09.

What is the RGB value of #304191?

#304191 is rgb(48, 65, 145) — red 48, green 65, and blue 145 on the 0-255 scale.

What is the CMYK value of #304191?

#304191 converts to approximately cmyk(67%, 55%, 0%, 43%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #304191 be black or white?

White text is the more readable choice. #304191 scores 9.17:1 against white and 2.29:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #304191 as a CSS color keyword?

No. #304191 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is darkslateblue (#483D8B) at a CIE76 distance of 8.09, which is clearly related but distinguishable side by side.

Open #304191 in a Tool

Keep exploring: every blue in the color library, the guide to shades of blue, or the full color library.