#2F378D#2F378D
#2F378D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.141 H 273.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F378D |
|---|---|
| RGB | rgb(47, 55, 141) |
| HSL | hsl(235, 50%, 37%) |
| HSV | hsv(235, 67%, 55%) |
| CMYK | cmyk(66.7%, 61%, 0%, 44.7%) |
| CIE-LAB | lab(27.46, 25.64, -48.86) |
| CIE-LCH | lch(27.46, 55.18, 297.68°) |
| OKLab | oklab(38.48% 0.0091 -0.1407) |
| OKLCH | oklch(38.48% 0.141 273.7) |
| XYZ | xyz(7.3446, 5.2592, 25.8222) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.27
Sapphire (survey)
#2138AB
ΔE00 4.52
Darkslateblue
#483D8B
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 7.36
Cobalt
#0047AB
ΔE00 7.64
Ocean Blue
#4F42B5
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F378D #8D852F
analogous
#2F668D #2F378D #562F8D
triadic
#2F378D #8D2F37 #378D2F
tetradic
#2F378D #8D2F66 #8D852F #2F8D56
square
#2F378D #8D2F66 #8D852F #2F8D56
split-complementary
#2F378D #8D562F #668D2F
monochromatic
#101331 #20255F #2F378D #3E49BB #6972CD
Accessibility & contrast
On white
10.23
#2F378D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2F378D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F378D
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F378D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F378D | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f378d; /* rgb */ color: rgb(47, 55, 141); /* oklch */ color: oklch(38.5% 0.141 273.7);
Tailwind
colors: {
custom: {
50: '#736daf',
500: '#2f378d',
950: '#000000',
},
}SCSS
$custom: #2f378d; $custom-light: #736daf; $custom-dark: #000000;
JSON
{
"hex": "#2f378d",
"rgb": {
"r": 47,
"g": 55,
"b": 141
},
"hsl": {
"h": 234.894,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.38484,
"c": 0.14099,
"h": 273.7
},
"luminance": 0.0526
}Semantic roles & 50–950 ramp
primary
#2F378D
secondary
#B4AD64
accent
#CE4EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F