#2F4489#2F4489
#2F4489 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.9% C 0.118 H 268.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4489 |
|---|---|
| RGB | rgb(47, 68, 137) |
| HSL | hsl(226, 49%, 36%) |
| HSV | hsv(226, 66%, 54%) |
| CMYK | cmyk(65.7%, 50.4%, 0%, 46.3%) |
| CIE-LAB | lab(30.75, 15.36, -41.08) |
| CIE-LCH | lch(30.75, 43.85, 290.50°) |
| OKLab | oklab(40.86% -0.0038 -0.1176) |
| OKLCH | oklch(40.86% 0.118 268.1) |
| XYZ | xyz(7.7532, 6.5440, 24.5166) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.30
Darkish Blue
#014182
ΔE00 4.96
Blueberry
#464196
ΔE00 5.49
Cobalt
#0047AB
ΔE00 5.52
Twilight Blue
#0A437A
ΔE00 5.67
Dusk Blue
#26538D
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4489 #89742F
analogous
#2F7189 #2F4489 #472F89
triadic
#2F4489 #892F44 #44892F
tetradic
#2F4489 #892F71 #89742F #2F8947
square
#2F4489 #892F71 #89742F #2F8947
split-complementary
#2F4489 #89472F #71892F
monochromatic
#10172E #1F2D5B #2F4489 #3F5BB7 #677FCB
Accessibility & contrast
On white
9.09
#2F4489 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2F4489 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4489
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4489 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4489 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4D8C
Deuteranopia (green-blind)
#0A4588
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f4489; /* rgb */ color: rgb(47, 68, 137); /* oklch */ color: oklch(40.9% 0.118 268.1);
Tailwind
colors: {
custom: {
50: '#7177ac',
500: '#2f4489',
950: '#000000',
},
}SCSS
$custom: #2f4489; $custom-light: #7177ac; $custom-dark: #000000;
JSON
{
"hex": "#2f4489",
"rgb": {
"r": 47,
"g": 68,
"b": 137
},
"hsl": {
"h": 226,
"s": 48.913,
"l": 36.078
},
"oklch": {
"l": 0.40856,
"c": 0.11769,
"h": 268.1
},
"luminance": 0.06545
}Semantic roles & 50–950 ramp
primary
#2F4489
secondary
#B29F62
accent
#B84FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F