#2F4C8B#2F4C8B
#2F4C8B is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.110 H 263.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4C8B |
|---|---|
| RGB | rgb(47, 76, 139) |
| HSL | hsl(221, 49%, 36%) |
| HSV | hsv(221, 66%, 55%) |
| CMYK | cmyk(66.2%, 45.3%, 0%, 45.5%) |
| CIE-LAB | lab(33.21, 10.72, -38.35) |
| CIE-LCH | lch(33.21, 39.82, 285.62°) |
| OKLab | oklab(42.79% -0.0119 -0.1095) |
| OKLCH | oklch(42.79% 0.11 263.8) |
| XYZ | xyz(8.4153, 7.6365, 25.4516) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.19
Dusk Blue
#26538D
ΔE00 3.58
Darkish Blue
#014182
ΔE00 4.88
Denim Blue
#3B5B92
ΔE00 4.96
Cobalt
#0047AB
ΔE00 5.04
Twilight Blue
#0A437A
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4C8B #8B6E2F
analogous
#2F7A8B #2F4C8B #402F8B
triadic
#2F4C8B #8B2F4C #4C8B2F
tetradic
#2F4C8B #8B2F7A #8B6E2F #2F8B40
square
#2F4C8B #8B2F7A #8B6E2F #2F8B40
split-complementary
#2F4C8B #8B402F #7A8B2F
monochromatic
#101A30 #20335D #2F4C8B #3E65B9 #6888CC
Accessibility & contrast
On white
8.31
#2F4C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2F4C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4C8B
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4C8B | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E538D
Deuteranopia (green-blind)
#1F4A8A
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f4c8b; /* rgb */ color: rgb(47, 76, 139); /* oklch */ color: oklch(42.8% 0.110 263.8);
Tailwind
colors: {
custom: {
50: '#727dad',
500: '#2f4c8b',
950: '#000000',
},
}SCSS
$custom: #2f4c8b; $custom-light: #727dad; $custom-dark: #000000;
JSON
{
"hex": "#2f4c8b",
"rgb": {
"r": 47,
"g": 76,
"b": 139
},
"hsl": {
"h": 221.087,
"s": 49.462,
"l": 36.471
},
"oklch": {
"l": 0.42786,
"c": 0.11014,
"h": 263.8
},
"luminance": 0.07637
}Semantic roles & 50–950 ramp
primary
#2F4C8B
secondary
#B39A63
accent
#AD4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F