#2F4C8D#2F4C8D
#2F4C8D is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.9% C 0.113 H 264.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4C8D |
|---|---|
| RGB | rgb(47, 76, 141) |
| HSL | hsl(221, 50%, 37%) |
| HSV | hsv(221, 67%, 55%) |
| CMYK | cmyk(66.7%, 46.1%, 0%, 44.7%) |
| CIE-LAB | lab(33.34, 11.47, -39.37) |
| CIE-LCH | lch(33.34, 41.01, 286.24°) |
| OKLab | oklab(42.92% -0.0116 -0.1125) |
| OKLCH | oklch(42.92% 0.113 264.1) |
| XYZ | xyz(8.5628, 7.6955, 26.2283) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.15
Dusk Blue
#26538D
ΔE00 3.65
Cobalt
#0047AB
ΔE00 4.82
Denim Blue
#3B5B92
ΔE00 4.95
Darkish Blue
#014182
ΔE00 4.97
Twilight Blue
#0A437A
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4C8D #8D702F
analogous
#2F7B8D #2F4C8D #412F8D
triadic
#2F4C8D #8D2F4C #4C8D2F
tetradic
#2F4C8D #8D2F7B #8D702F #2F8D41
square
#2F4C8D #8D2F7B #8D702F #2F8D41
split-complementary
#2F4C8D #8D412F #7B8D2F
monochromatic
#101B31 #20335F #2F4C8D #3E65BB #6988CD
Accessibility & contrast
On white
8.27
#2F4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2F4C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4C8D
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4C8D | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D538F
Deuteranopia (green-blind)
#1C4A8C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f4c8d; /* rgb */ color: rgb(47, 76, 141); /* oklch */ color: oklch(42.9% 0.113 264.1);
Tailwind
colors: {
custom: {
50: '#727daf',
500: '#2f4c8d',
950: '#000000',
},
}SCSS
$custom: #2f4c8d; $custom-light: #727daf; $custom-dark: #000000;
JSON
{
"hex": "#2f4c8d",
"rgb": {
"r": 47,
"g": 76,
"b": 141
},
"hsl": {
"h": 221.489,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.42924,
"c": 0.11308,
"h": 264.1
},
"luminance": 0.07696
}Semantic roles & 50–950 ramp
primary
#2F4C8D
secondary
#B49B64
accent
#AF4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F