#2F4688#2F4688
#2F4688 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.114 H 266.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4688 |
|---|---|
| RGB | rgb(47, 70, 136) |
| HSL | hsl(224, 49%, 36%) |
| HSV | hsv(224, 65%, 53%) |
| CMYK | cmyk(65.4%, 48.5%, 0%, 46.7%) |
| CIE-LAB | lab(31.26, 13.63, -39.64) |
| CIE-LCH | lch(31.26, 41.92, 288.98°) |
| OKLab | oklab(41.23% -0.0061 -0.1134) |
| OKLCH | oklch(41.23% 0.114 266.9) |
| XYZ | xyz(7.8049, 6.7615, 24.1816) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.84
Darkish Blue
#014182
ΔE00 4.71
Twilight Blue
#0A437A
ΔE00 5.29
Cobalt
#0047AB
ΔE00 5.46
Dusk Blue
#26538D
ΔE00 5.65
Blueberry
#464196
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4688 #88712F
analogous
#2F7288 #2F4688 #442F88
triadic
#2F4688 #882F46 #46882F
tetradic
#2F4688 #882F72 #88712F #2F8844
square
#2F4688 #882F72 #88712F #2F8844
split-complementary
#2F4688 #88442F #72882F
monochromatic
#10172D #1F2F5B #2F4688 #3F5DB5 #6781CA
Accessibility & contrast
On white
8.93
#2F4688 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2F4688 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4688
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4688 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4688 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254E8A
Deuteranopia (green-blind)
#144687
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f4688; /* rgb */ color: rgb(47, 70, 136); /* oklch */ color: oklch(41.2% 0.114 266.9);
Tailwind
colors: {
custom: {
50: '#7179ab',
500: '#2f4688',
950: '#000000',
},
}SCSS
$custom: #2f4688; $custom-light: #7179ab; $custom-dark: #000000;
JSON
{
"hex": "#2f4688",
"rgb": {
"r": 47,
"g": 70,
"b": 136
},
"hsl": {
"h": 224.494,
"s": 48.634,
"l": 35.882
},
"oklch": {
"l": 0.41225,
"c": 0.11353,
"h": 266.9
},
"luminance": 0.06762
}Semantic roles & 50–950 ramp
primary
#2F4688
secondary
#B19D61
accent
#B550D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F