#2F387A#2F387A
#2F387A is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.1% C 0.112 H 273.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2F387A |
|---|---|
| RGB | rgb(47, 56, 122) |
| HSL | hsl(233, 44%, 33%) |
| HSV | hsv(233, 61%, 48%) |
| CMYK | cmyk(61.5%, 54.1%, 0%, 52.2%) |
| CIE-LAB | lab(26.27, 17.98, -38.93) |
| CIE-LCH | lch(26.27, 42.88, 294.79°) |
| OKLab | oklab(37.13% 0.0075 -0.1115) |
| OKLCH | oklch(37.13% 0.112 273.8) |
| XYZ | xyz(6.0982, 4.8374, 19.0209) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.25
Blueberry
#464196
ΔE00 5.87
Marine
#042E60
ΔE00 6.87
Marine Blue
#01386A
ΔE00 7.29
Cobalt (survey)
#1E488F
ΔE00 7.31
Darkish Blue
#014182
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F387A #7A712F
analogous
#2F5D7A #2F387A #4B2F7A
triadic
#2F387A #7A2F38 #387A2F
tetradic
#2F387A #7A2F5D #7A712F #2F7A4B
square
#2F387A #7A2F5D #7A712F #2F7A4B
split-complementary
#2F387A #7A4B2F #5D7A2F
monochromatic
#0D0F22 #1E244E #2F387A #404CA6 #616DC2
Accessibility & contrast
On white
10.67
#2F387A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2F387A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F387A
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F387A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F387A | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#12417C
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f387a; /* rgb */ color: rgb(47, 56, 122); /* oklch */ color: oklch(37.1% 0.112 273.8);
Tailwind
colors: {
custom: {
50: '#6f6ea1',
500: '#2f387a',
950: '#000000',
},
}SCSS
$custom: #2f387a; $custom-light: #6f6ea1; $custom-dark: #000000;
JSON
{
"hex": "#2f387a",
"rgb": {
"r": 47,
"g": 56,
"b": 122
},
"hsl": {
"h": 232.8,
"s": 44.379,
"l": 33.137
},
"oklch": {
"l": 0.37128,
"c": 0.11172,
"h": 273.8
},
"luminance": 0.04838
}Semantic roles & 50–950 ramp
primary
#2F387A
secondary
#A9A05C
accent
#C554D4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070F
muted
#7B7A7E