#2F378F#2F378F
#2F378F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.144 H 273.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F378F |
|---|---|
| RGB | rgb(47, 55, 143) |
| HSL | hsl(235, 51%, 37%) |
| HSV | hsv(235, 67%, 56%) |
| CMYK | cmyk(67.1%, 61.5%, 0%, 43.9%) |
| CIE-LAB | lab(27.63, 26.37, -49.83) |
| CIE-LCH | lch(27.63, 56.38, 297.89°) |
| OKLab | oklab(38.66% 0.0091 -0.1435) |
| OKLCH | oklch(38.66% 0.144 273.6) |
| XYZ | xyz(7.4948, 5.3192, 26.6130) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.21
Sapphire (survey)
#2138AB
ΔE00 4.21
Darkslateblue
#483D8B
ΔE00 4.60
Cobalt (survey)
#1E488F
ΔE00 7.41
Cobalt
#0047AB
ΔE00 7.52
Ocean Blue
#4F42B5
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F378F #8F872F
analogous
#2F678F #2F378F #572F8F
triadic
#2F378F #8F2F37 #378F2F
tetradic
#2F378F #8F2F67 #8F872F #2F8F57
square
#2F378F #8F2F67 #8F872F #2F8F57
split-complementary
#2F378F #8F572F #678F2F
monochromatic
#111433 #202561 #2F378F #3E49BD #6A73CE
Accessibility & contrast
On white
10.17
#2F378F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F378F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F378F
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F378F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F378F | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f378f; /* rgb */ color: rgb(47, 55, 143); /* oklch */ color: oklch(38.7% 0.144 273.6);
Tailwind
colors: {
custom: {
50: '#746db1',
500: '#2f378f',
950: '#000000',
},
}SCSS
$custom: #2f378f; $custom-light: #746db1; $custom-dark: #000000;
JSON
{
"hex": "#2f378f",
"rgb": {
"r": 47,
"g": 55,
"b": 143
},
"hsl": {
"h": 235,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.38657,
"c": 0.14383,
"h": 273.6
},
"luminance": 0.0532
}Semantic roles & 50–950 ramp
primary
#2F378F
secondary
#B5AF65
accent
#CE4EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80