#2F398E#2F398E
#2F398E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.140 H 273.0°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F398E |
|---|---|
| RGB | rgb(47, 57, 142) |
| HSL | hsl(234, 50%, 37%) |
| HSV | hsv(234, 67%, 56%) |
| CMYK | cmyk(66.9%, 59.9%, 0%, 44.3%) |
| CIE-LAB | lab(28.07, 24.66, -48.49) |
| CIE-LCH | lch(28.07, 54.40, 296.96°) |
| OKLab | oklab(38.96% 0.0073 -0.1396) |
| OKLCH | oklch(38.96% 0.14 273) |
| XYZ | xyz(7.5163, 5.4829, 26.2482) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.05
Sapphire (survey)
#2138AB
ΔE00 4.43
Darkslateblue
#483D8B
ΔE00 4.57
Cobalt (survey)
#1E488F
ΔE00 6.75
Cobalt
#0047AB
ΔE00 7.09
Darkish Blue
#014182
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F398E #8E842F
analogous
#2F698E #2F398E #542F8E
triadic
#2F398E #8E2F39 #398E2F
tetradic
#2F398E #8E2F69 #8E842F #2F8E54
square
#2F398E #8E2F69 #8E842F #2F8E54
split-complementary
#2F398E #8E542F #698E2F
monochromatic
#111432 #202760 #2F398E #3E4BBC #6A74CE
Accessibility & contrast
On white
10.02
#2F398E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2F398E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F398E
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F398E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F398E | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f398e; /* rgb */ color: rgb(47, 57, 142); /* oklch */ color: oklch(39.0% 0.140 273.0);
Tailwind
colors: {
custom: {
50: '#736fb0',
500: '#2f398e',
950: '#000000',
},
}SCSS
$custom: #2f398e; $custom-light: #736fb0; $custom-dark: #000000;
JSON
{
"hex": "#2f398e",
"rgb": {
"r": 47,
"g": 57,
"b": 142
},
"hsl": {
"h": 233.684,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.3896,
"c": 0.13978,
"h": 273
},
"luminance": 0.05484
}Semantic roles & 50–950 ramp
primary
#2F398E
secondary
#B5AC64
accent
#CB4EDA
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F