#2F378E#2F378E
#2F378E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.142 H 273.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2F378E |
|---|---|
| RGB | rgb(47, 55, 142) |
| HSL | hsl(235, 50%, 37%) |
| HSV | hsv(235, 67%, 56%) |
| CMYK | cmyk(66.9%, 61.3%, 0%, 44.3%) |
| CIE-LAB | lab(27.54, 26.00, -49.35) |
| CIE-LCH | lch(27.54, 55.78, 297.78°) |
| OKLab | oklab(38.57% 0.0091 -0.1421) |
| OKLCH | oklch(38.57% 0.142 273.7) |
| XYZ | xyz(7.4193, 5.2891, 26.2158) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.24
Sapphire (survey)
#2138AB
ΔE00 4.37
Darkslateblue
#483D8B
ΔE00 4.57
Cobalt (survey)
#1E488F
ΔE00 7.38
Cobalt
#0047AB
ΔE00 7.58
Ocean Blue
#4F42B5
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F378E #8E862F
analogous
#2F678E #2F378E #562F8E
triadic
#2F378E #8E2F37 #378E2F
tetradic
#2F378E #8E2F67 #8E862F #2F8E56
square
#2F378E #8E2F67 #8E862F #2F8E56
split-complementary
#2F378E #8E562F #678E2F
monochromatic
#111332 #202560 #2F378E #3E49BC #6A72CE
Accessibility & contrast
On white
10.20
#2F378E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F378E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F378E
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F378E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F378E | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f378e; /* rgb */ color: rgb(47, 55, 142); /* oklch */ color: oklch(38.6% 0.142 273.7);
Tailwind
colors: {
custom: {
50: '#736db0',
500: '#2f378e',
950: '#000000',
},
}SCSS
$custom: #2f378e; $custom-light: #736db0; $custom-dark: #000000;
JSON
{
"hex": "#2f378e",
"rgb": {
"r": 47,
"g": 55,
"b": 142
},
"hsl": {
"h": 234.947,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.3857,
"c": 0.14241,
"h": 273.7
},
"luminance": 0.0529
}Semantic roles & 50–950 ramp
primary
#2F378E
secondary
#B5AE64
accent
#CE4EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F