#2F4C8F#2F4C8F
#2F4C8F is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.1% C 0.116 H 264.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4C8F |
|---|---|
| RGB | rgb(47, 76, 143) |
| HSL | hsl(222, 51%, 37%) |
| HSV | hsv(222, 67%, 56%) |
| CMYK | cmyk(67.1%, 46.9%, 0%, 43.9%) |
| CIE-LAB | lab(33.47, 12.22, -40.39) |
| CIE-LCH | lch(33.47, 42.20, 286.83°) |
| OKLab | oklab(43.06% -0.0112 -0.1155) |
| OKLCH | oklch(43.06% 0.116 264.5) |
| XYZ | xyz(8.7129, 7.7556, 27.0191) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.15
Dusk Blue
#26538D
ΔE00 3.73
Cobalt
#0047AB
ΔE00 4.60
Denim Blue
#3B5B92
ΔE00 4.96
Darkish Blue
#014182
ΔE00 5.08
Twilight Blue
#0A437A
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4C8F #8F722F
analogous
#2F7C8F #2F4C8F #422F8F
triadic
#2F4C8F #8F2F4C #4C8F2F
tetradic
#2F4C8F #8F2F7C #8F722F #2F8F42
square
#2F4C8F #8F2F7C #8F722F #2F8F42
split-complementary
#2F4C8F #8F422F #7C8F2F
monochromatic
#111B33 #203461 #2F4C8F #3E64BD #6A88CE
Accessibility & contrast
On white
8.23
#2F4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2F4C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4C8F
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4C8F | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#1A4B8E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f4c8f; /* rgb */ color: rgb(47, 76, 143); /* oklch */ color: oklch(43.1% 0.116 264.5);
Tailwind
colors: {
custom: {
50: '#727db0',
500: '#2f4c8f',
950: '#000000',
},
}SCSS
$custom: #2f4c8f; $custom-light: #727db0; $custom-dark: #000000;
JSON
{
"hex": "#2f4c8f",
"rgb": {
"r": 47,
"g": 76,
"b": 143
},
"hsl": {
"h": 221.875,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.43064,
"c": 0.11603,
"h": 264.5
},
"luminance": 0.07756
}Semantic roles & 50–950 ramp
primary
#2F4C8F
secondary
#B59D65
accent
#B04EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090910
muted
#7B7B7F