#2F3B8D#2F3B8D
#2F3B8D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.136 H 272.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3B8D |
|---|---|
| RGB | rgb(47, 59, 141) |
| HSL | hsl(232, 50%, 37%) |
| HSV | hsv(232, 67%, 55%) |
| CMYK | cmyk(66.7%, 58.2%, 0%, 44.7%) |
| CIE-LAB | lab(28.52, 22.95, -47.14) |
| CIE-LCH | lch(28.52, 52.43, 295.96°) |
| OKLab | oklab(39.27% 0.0054 -0.1356) |
| OKLCH | oklch(39.27% 0.136 272.3) |
| XYZ | xyz(7.5424, 5.6547, 25.8881) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.03
Darkslateblue
#483D8B
ΔE00 4.66
Sapphire (survey)
#2138AB
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 6.09
Cobalt
#0047AB
ΔE00 6.70
Darkish Blue
#014182
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3B8D #8D812F
analogous
#2F6A8D #2F3B8D #522F8D
triadic
#2F3B8D #8D2F3B #3B8D2F
tetradic
#2F3B8D #8D2F6A #8D812F #2F8D52
square
#2F3B8D #8D2F6A #8D812F #2F8D52
split-complementary
#2F3B8D #8D522F #6A8D2F
monochromatic
#101531 #20285F #2F3B8D #3E4EBB #6976CD
Accessibility & contrast
On white
9.85
#2F3B8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2F3B8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3B8D
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3B8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3B8D | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f3b8d; /* rgb */ color: rgb(47, 59, 141); /* oklch */ color: oklch(39.3% 0.136 272.3);
Tailwind
colors: {
custom: {
50: '#7370af',
500: '#2f3b8d',
950: '#000000',
},
}SCSS
$custom: #2f3b8d; $custom-light: #7370af; $custom-dark: #000000;
JSON
{
"hex": "#2f3b8d",
"rgb": {
"r": 47,
"g": 59,
"b": 141
},
"hsl": {
"h": 232.34,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.39274,
"c": 0.13569,
"h": 272.3
},
"luminance": 0.05655
}Semantic roles & 50–950 ramp
primary
#2F3B8D
secondary
#B4AA64
accent
#C84EDA
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F