#2F4189#2F4189
#2F4189 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.122 H 269.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4189 |
|---|---|
| RGB | rgb(47, 65, 137) |
| HSL | hsl(228, 49%, 36%) |
| HSV | hsv(228, 66%, 54%) |
| CMYK | cmyk(65.7%, 52.6%, 0%, 46.3%) |
| CIE-LAB | lab(29.89, 17.39, -42.46) |
| CIE-LCH | lch(29.89, 45.88, 292.28°) |
| OKLab | oklab(40.21% -0.0007 -0.1217) |
| OKLCH | oklch(40.21% 0.122 269.6) |
| XYZ | xyz(7.5764, 6.1904, 24.4577) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.16
Blueberry
#464196
ΔE00 4.88
Darkish Blue
#014182
ΔE00 5.43
Darkslateblue
#483D8B
ΔE00 5.72
Cobalt
#0047AB
ΔE00 5.91
Twilight Blue
#0A437A
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4189 #89772F
analogous
#2F6E89 #2F4189 #4A2F89
triadic
#2F4189 #892F41 #41892F
tetradic
#2F4189 #892F6E #89772F #2F894A
square
#2F4189 #892F6E #89772F #2F894A
split-complementary
#2F4189 #894A2F #6E892F
monochromatic
#10162E #1F2B5B #2F4189 #3F57B7 #677BCB
Accessibility & contrast
On white
9.38
#2F4189 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2F4189 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4189
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4189 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4189 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174B8C
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f4189; /* rgb */ color: rgb(47, 65, 137); /* oklch */ color: oklch(40.2% 0.122 269.6);
Tailwind
colors: {
custom: {
50: '#7275ac',
500: '#2f4189',
950: '#000000',
},
}SCSS
$custom: #2f4189; $custom-light: #7275ac; $custom-dark: #000000;
JSON
{
"hex": "#2f4189",
"rgb": {
"r": 47,
"g": 65,
"b": 137
},
"hsl": {
"h": 228,
"s": 48.913,
"l": 36.078
},
"oklch": {
"l": 0.40205,
"c": 0.12174,
"h": 269.6
},
"luminance": 0.06191
}Semantic roles & 50–950 ramp
primary
#2F4189
secondary
#B2A262
accent
#BD4FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F