#2F378B#2F378B
#2F378B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.138 H 273.8°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F378B |
|---|---|
| RGB | rgb(47, 55, 139) |
| HSL | hsl(235, 49%, 36%) |
| HSV | hsv(235, 66%, 55%) |
| CMYK | cmyk(66.2%, 60.4%, 0%, 45.5%) |
| CIE-LAB | lab(27.30, 24.90, -47.89) |
| CIE-LCH | lch(27.30, 53.98, 297.48°) |
| OKLab | oklab(38.31% 0.0091 -0.1378) |
| OKLCH | oklch(38.31% 0.138 273.8) |
| XYZ | xyz(7.1971, 5.2002, 25.0455) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.36
Darkslateblue
#483D8B
ΔE00 4.51
Sapphire (survey)
#2138AB
ΔE00 4.84
Cobalt (survey)
#1E488F
ΔE00 7.33
Cobalt
#0047AB
ΔE00 7.77
Darkish Blue
#014182
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F378B #8B832F
analogous
#2F658B #2F378B #552F8B
triadic
#2F378B #8B2F37 #378B2F
tetradic
#2F378B #8B2F65 #8B832F #2F8B55
square
#2F378B #8B2F65 #8B832F #2F8B55
split-complementary
#2F378B #8B552F #658B2F
monochromatic
#101330 #20255D #2F378B #3E49B9 #6871CC
Accessibility & contrast
On white
10.29
#2F378B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2F378B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F378B
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F378B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F378B | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f378b; /* rgb */ color: rgb(47, 55, 139); /* oklch */ color: oklch(38.3% 0.138 273.8);
Tailwind
colors: {
custom: {
50: '#736dae',
500: '#2f378b',
950: '#000000',
},
}SCSS
$custom: #2f378b; $custom-light: #736dae; $custom-dark: #000000;
JSON
{
"hex": "#2f378b",
"rgb": {
"r": 47,
"g": 55,
"b": 139
},
"hsl": {
"h": 234.783,
"s": 49.462,
"l": 36.471
},
"oklch": {
"l": 0.38312,
"c": 0.13814,
"h": 273.8
},
"luminance": 0.05201
}Semantic roles & 50–950 ramp
primary
#2F378B
secondary
#B3AC63
accent
#CD4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F