#2F378C#2F378C
#2F378C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.140 H 273.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F378C |
|---|---|
| RGB | rgb(47, 55, 140) |
| HSL | hsl(235, 50%, 37%) |
| HSV | hsv(235, 66%, 55%) |
| CMYK | cmyk(66.4%, 60.7%, 0%, 45.1%) |
| CIE-LAB | lab(27.38, 25.27, -48.38) |
| CIE-LCH | lch(27.38, 54.58, 297.58°) |
| OKLab | oklab(38.4% 0.0091 -0.1393) |
| OKLCH | oklch(38.4% 0.14 273.7) |
| XYZ | xyz(7.2705, 5.2295, 25.4321) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.31
Darkslateblue
#483D8B
ΔE00 4.52
Sapphire (survey)
#2138AB
ΔE00 4.68
Cobalt (survey)
#1E488F
ΔE00 7.35
Cobalt
#0047AB
ΔE00 7.70
Darkish Blue
#014182
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F378C #8C842F
analogous
#2F668C #2F378C #562F8C
triadic
#2F378C #8C2F37 #378C2F
tetradic
#2F378C #8C2F66 #8C842F #2F8C56
square
#2F378C #8C2F66 #8C842F #2F8C56
split-complementary
#2F378C #8C562F #668C2F
monochromatic
#101330 #20255E #2F378C #3E49BA #6971CD
Accessibility & contrast
On white
10.26
#2F378C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2F378C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F378C
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F378C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F378C | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f378c; /* rgb */ color: rgb(47, 55, 140); /* oklch */ color: oklch(38.4% 0.140 273.7);
Tailwind
colors: {
custom: {
50: '#736dae',
500: '#2f378c',
950: '#000000',
},
}SCSS
$custom: #2f378c; $custom-light: #736dae; $custom-dark: #000000;
JSON
{
"hex": "#2f378c",
"rgb": {
"r": 47,
"g": 55,
"b": 140
},
"hsl": {
"h": 234.839,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.38398,
"c": 0.13958,
"h": 273.7
},
"luminance": 0.0523
}Semantic roles & 50–950 ramp
primary
#2F378C
secondary
#B4AD63
accent
#CD4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F