#2F388E#2F388E
#2F388E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.141 H 273.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F388E |
|---|---|
| RGB | rgb(47, 56, 142) |
| HSL | hsl(234, 50%, 37%) |
| HSV | hsv(234, 67%, 56%) |
| CMYK | cmyk(66.9%, 60.6%, 0%, 44.3%) |
| CIE-LAB | lab(27.80, 25.33, -48.92) |
| CIE-LCH | lch(27.80, 55.09, 297.38°) |
| OKLab | oklab(38.76% 0.0082 -0.1409) |
| OKLCH | oklch(38.76% 0.141 273.3) |
| XYZ | xyz(7.4673, 5.3850, 26.2318) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.13
Sapphire (survey)
#2138AB
ΔE00 4.39
Darkslateblue
#483D8B
ΔE00 4.56
Cobalt (survey)
#1E488F
ΔE00 7.07
Cobalt
#0047AB
ΔE00 7.33
Ocean Blue
#4F42B5
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F388E #8E852F
analogous
#2F688E #2F388E #562F8E
triadic
#2F388E #8E2F38 #388E2F
tetradic
#2F388E #8E2F68 #8E852F #2F8E56
square
#2F388E #8E2F68 #8E852F #2F8E56
split-complementary
#2F388E #8E562F #688E2F
monochromatic
#111432 #202660 #2F388E #3E4ABC #6A73CE
Accessibility & contrast
On white
10.11
#2F388E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2F388E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F388E
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F388E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F388E | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f388e; /* rgb */ color: rgb(47, 56, 142); /* oklch */ color: oklch(38.8% 0.141 273.3);
Tailwind
colors: {
custom: {
50: '#736eb0',
500: '#2f388e',
950: '#000000',
},
}SCSS
$custom: #2f388e; $custom-light: #736eb0; $custom-dark: #000000;
JSON
{
"hex": "#2f388e",
"rgb": {
"r": 47,
"g": 56,
"b": 142
},
"hsl": {
"h": 234.316,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.38764,
"c": 0.1411,
"h": 273.3
},
"luminance": 0.05386
}Semantic roles & 50–950 ramp
primary
#2F388E
secondary
#B5AD64
accent
#CD4EDA
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F