#2F4C8A#2F4C8A
#2F4C8A is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.7% C 0.109 H 263.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4C8A |
|---|---|
| RGB | rgb(47, 76, 138) |
| HSL | hsl(221, 49%, 36%) |
| HSV | hsv(221, 66%, 54%) |
| CMYK | cmyk(65.9%, 44.9%, 0%, 45.9%) |
| CIE-LAB | lab(33.15, 10.35, -37.84) |
| CIE-LCH | lch(33.15, 39.23, 285.29°) |
| OKLab | oklab(42.72% -0.0121 -0.108) |
| OKLCH | oklch(42.72% 0.109 263.6) |
| XYZ | xyz(8.3426, 7.6074, 25.0686) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.22
Dusk Blue
#26538D
ΔE00 3.56
Darkish Blue
#014182
ΔE00 4.84
Denim Blue
#3B5B92
ΔE00 4.97
Twilight Blue
#0A437A
ΔE00 5.04
Cobalt
#0047AB
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4C8A #8A6D2F
analogous
#2F7A8A #2F4C8A #402F8A
triadic
#2F4C8A #8A2F4C #4C8A2F
tetradic
#2F4C8A #8A2F7A #8A6D2F #2F8A40
square
#2F4C8A #8A2F7A #8A6D2F #2F8A40
split-complementary
#2F4C8A #8A402F #7A8A2F
monochromatic
#101A2F #1F335C #2F4C8A #3F65B8 #6888CC
Accessibility & contrast
On white
8.33
#2F4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2F4C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4C8A
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4C8A | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F528C
Deuteranopia (green-blind)
#204A89
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f4c8a; /* rgb */ color: rgb(47, 76, 138); /* oklch */ color: oklch(42.7% 0.109 263.6);
Tailwind
colors: {
custom: {
50: '#717dac',
500: '#2f4c8a',
950: '#000000',
},
}SCSS
$custom: #2f4c8a; $custom-light: #717dac; $custom-dark: #000000;
JSON
{
"hex": "#2f4c8a",
"rgb": {
"r": 47,
"g": 76,
"b": 138
},
"hsl": {
"h": 220.879,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.42718,
"c": 0.10866,
"h": 263.6
},
"luminance": 0.07608
}Semantic roles & 50–950 ramp
primary
#2F4C8A
secondary
#B39962
accent
#AD4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F