#2F4C8E#2F4C8E
#2F4C8E is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.0% C 0.115 H 264.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4C8E |
|---|---|
| RGB | rgb(47, 76, 142) |
| HSL | hsl(222, 50%, 37%) |
| HSV | hsv(222, 67%, 56%) |
| CMYK | cmyk(66.9%, 46.5%, 0%, 44.3%) |
| CIE-LAB | lab(33.40, 11.85, -39.88) |
| CIE-LCH | lch(33.40, 41.60, 286.54°) |
| OKLab | oklab(42.99% -0.0114 -0.114) |
| OKLCH | oklch(42.99% 0.115 264.3) |
| XYZ | xyz(8.6375, 7.7254, 26.6219) |
| Luminance | 0.0773 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.14
Dusk Blue
#26538D
ΔE00 3.68
Cobalt
#0047AB
ΔE00 4.71
Denim Blue
#3B5B92
ΔE00 4.96
Darkish Blue
#014182
ΔE00 5.02
Twilight Blue
#0A437A
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4C8E #8E712F
analogous
#2F7C8E #2F4C8E #412F8E
triadic
#2F4C8E #8E2F4C #4C8E2F
tetradic
#2F4C8E #8E2F7C #8E712F #2F8E41
square
#2F4C8E #8E2F7C #8E712F #2F8E41
split-complementary
#2F4C8E #8E412F #7C8E2F
monochromatic
#111B32 #203360 #2F4C8E #3E65BC #6A88CE
Accessibility & contrast
On white
8.25
#2F4C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2F4C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4C8E
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4C8E | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#1B4A8D
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f4c8e; /* rgb */ color: rgb(47, 76, 142); /* oklch */ color: oklch(43.0% 0.115 264.3);
Tailwind
colors: {
custom: {
50: '#727daf',
500: '#2f4c8e',
950: '#000000',
},
}SCSS
$custom: #2f4c8e; $custom-light: #727daf; $custom-dark: #000000;
JSON
{
"hex": "#2f4c8e",
"rgb": {
"r": 47,
"g": 76,
"b": 142
},
"hsl": {
"h": 221.684,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.42994,
"c": 0.11456,
"h": 264.3
},
"luminance": 0.07726
}Semantic roles & 50–950 ramp
primary
#2F4C8E
secondary
#B59C64
accent
#AF4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F