#2F388C#2F388C
#2F388C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.138 H 273.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F388C |
|---|---|
| RGB | rgb(47, 56, 140) |
| HSL | hsl(234, 50%, 37%) |
| HSV | hsv(234, 66%, 55%) |
| CMYK | cmyk(66.4%, 60%, 0%, 45.1%) |
| CIE-LAB | lab(27.64, 24.60, -47.95) |
| CIE-LCH | lch(27.64, 53.89, 297.16°) |
| OKLab | oklab(38.59% 0.0082 -0.138) |
| OKLCH | oklch(38.59% 0.138 273.4) |
| XYZ | xyz(7.3185, 5.3255, 25.4481) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.22
Darkslateblue
#483D8B
ΔE00 4.52
Sapphire (survey)
#2138AB
ΔE00 4.70
Cobalt (survey)
#1E488F
ΔE00 7.03
Cobalt
#0047AB
ΔE00 7.46
Darkish Blue
#014182
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F388C #8C832F
analogous
#2F678C #2F388C #552F8C
triadic
#2F388C #8C2F38 #388C2F
tetradic
#2F388C #8C2F67 #8C832F #2F8C55
square
#2F388C #8C2F67 #8C832F #2F8C55
split-complementary
#2F388C #8C552F #678C2F
monochromatic
#101330 #20265E #2F388C #3E4ABA #6972CD
Accessibility & contrast
On white
10.17
#2F388C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2F388C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F388C
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F388C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F388C | 1.00 | 10.17 | 2.07 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f388c; /* rgb */ color: rgb(47, 56, 140); /* oklch */ color: oklch(38.6% 0.138 273.4);
Tailwind
colors: {
custom: {
50: '#736eae',
500: '#2f388c',
950: '#000000',
},
}SCSS
$custom: #2f388c; $custom-light: #736eae; $custom-dark: #000000;
JSON
{
"hex": "#2f388c",
"rgb": {
"r": 47,
"g": 56,
"b": 140
},
"hsl": {
"h": 234.194,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.38593,
"c": 0.13824,
"h": 273.4
},
"luminance": 0.05326
}Semantic roles & 50–950 ramp
primary
#2F388C
secondary
#B4AC63
accent
#CC4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F