#2F3C7D#2F3C7D
#2F3C7D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.2% C 0.111 H 271.7°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C7D |
|---|---|
| RGB | rgb(47, 60, 125) |
| HSL | hsl(230, 45%, 34%) |
| HSV | hsv(230, 62%, 49%) |
| CMYK | cmyk(62.4%, 52%, 0%, 51%) |
| CIE-LAB | lab(27.62, 16.34, -38.64) |
| CIE-LCH | lch(27.62, 41.96, 292.93°) |
| OKLab | oklab(38.22% 0.0033 -0.1106) |
| OKLCH | oklch(38.22% 0.111 271.7) |
| XYZ | xyz(6.4886, 5.3162, 20.0823) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.49
Blueberry
#464196
ΔE00 5.63
Cobalt (survey)
#1E488F
ΔE00 5.99
Darkish Blue
#014182
ΔE00 6.28
Marine Blue
#01386A
ΔE00 6.78
Twilight Blue
#0A437A
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C7D #7D702F
analogous
#2F637D #2F3C7D #492F7D
triadic
#2F3C7D #7D2F3C #3C7D2F
tetradic
#2F3C7D #7D2F63 #7D702F #2F7D49
square
#2F3C7D #7D2F63 #7D702F #2F7D49
split-complementary
#2F3C7D #7D492F #637D2F
monochromatic
#0E1124 #1E2751 #2F3C7D #4051A9 #6273C4
Accessibility & contrast
On white
10.18
#2F3C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F3C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C7D
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C7D | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19457F
Deuteranopia (green-blind)
#083E7C
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f3c7d; /* rgb */ color: rgb(47, 60, 125); /* oklch */ color: oklch(38.2% 0.111 271.7);
Tailwind
colors: {
custom: {
50: '#7071a3',
500: '#2f3c7d',
950: '#000000',
},
}SCSS
$custom: #2f3c7d; $custom-light: #7071a3; $custom-dark: #000000;
JSON
{
"hex": "#2f3c7d",
"rgb": {
"r": 47,
"g": 60,
"b": 125
},
"hsl": {
"h": 230,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.38216,
"c": 0.11063,
"h": 271.7
},
"luminance": 0.05317
}Semantic roles & 50–950 ramp
primary
#2F3C7D
secondary
#AB9E5D
accent
#BF53D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F