#2F4F8D#2F4F8D
#2F4F8D is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.109 H 262.3°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4F8D |
|---|---|
| RGB | rgb(47, 79, 141) |
| HSL | hsl(220, 50%, 37%) |
| HSV | hsv(220, 67%, 55%) |
| CMYK | cmyk(66.7%, 44%, 0%, 44.7%) |
| CIE-LAB | lab(34.23, 9.47, -37.95) |
| CIE-LCH | lch(34.23, 39.12, 284.01°) |
| OKLab | oklab(43.61% -0.0147 -0.1083) |
| OKLCH | oklch(43.61% 0.109 262.3) |
| XYZ | xyz(8.7743, 8.1186, 26.2988) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.58
Dusk Blue
#26538D
ΔE00 2.62
Denim Blue
#3B5B92
ΔE00 3.98
Light Navy
#155084
ΔE00 4.60
Light Navy Blue
#2E5A88
ΔE00 4.83
Cobalt
#0047AB
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4F8D #8D6D2F
analogous
#2F7E8D #2F4F8D #3E2F8D
triadic
#2F4F8D #8D2F4F #4F8D2F
tetradic
#2F4F8D #8D2F7E #8D6D2F #2F8D3E
square
#2F4F8D #8D2F7E #8D6D2F #2F8D3E
split-complementary
#2F4F8D #8D3E2F #7E8D2F
monochromatic
#101C31 #20355F #2F4F8D #3E69BB #698BCD
Accessibility & contrast
On white
8.00
#2F4F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2F4F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4F8D
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4F8D | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#234C8C
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f4f8d; /* rgb */ color: rgb(47, 79, 141); /* oklch */ color: oklch(43.6% 0.109 262.3);
Tailwind
colors: {
custom: {
50: '#727faf',
500: '#2f4f8d',
950: '#000000',
},
}SCSS
$custom: #2f4f8d; $custom-light: #727faf; $custom-dark: #000000;
JSON
{
"hex": "#2f4f8d",
"rgb": {
"r": 47,
"g": 79,
"b": 141
},
"hsl": {
"h": 219.574,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.43608,
"c": 0.10928,
"h": 262.3
},
"luminance": 0.08119
}Semantic roles & 50–950 ramp
primary
#2F4F8D
secondary
#B49964
accent
#AA4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F