#2F3F8D#2F3F8D
#2F3F8D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.130 H 270.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3F8D |
|---|---|
| RGB | rgb(47, 63, 141) |
| HSL | hsl(230, 50%, 37%) |
| HSV | hsv(230, 67%, 55%) |
| CMYK | cmyk(66.7%, 55.3%, 0%, 44.7%) |
| CIE-LAB | lab(29.62, 20.24, -45.36) |
| CIE-LCH | lch(29.62, 49.68, 294.05°) |
| OKLab | oklab(40.09% 0.0016 -0.1303) |
| OKLCH | oklch(40.09% 0.13 270.7) |
| XYZ | xyz(7.7559, 6.0817, 25.9593) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.25
Cobalt (survey)
#1E488F
ΔE00 4.82
Darkslateblue
#483D8B
ΔE00 5.20
Sapphire (survey)
#2138AB
ΔE00 5.30
Cobalt
#0047AB
ΔE00 5.86
Darkish Blue
#014182
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3F8D #8D7D2F
analogous
#2F6E8D #2F3F8D #4E2F8D
triadic
#2F3F8D #8D2F3F #3F8D2F
tetradic
#2F3F8D #8D2F6E #8D7D2F #2F8D4E
square
#2F3F8D #8D2F6E #8D7D2F #2F8D4E
split-complementary
#2F3F8D #8D4E2F #6E8D2F
monochromatic
#101631 #202A5F #2F3F8D #3E54BB #697ACD
Accessibility & contrast
On white
9.47
#2F3F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2F3F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3F8D
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3F8D | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#074A90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f3f8d; /* rgb */ color: rgb(47, 63, 141); /* oklch */ color: oklch(40.1% 0.130 270.7);
Tailwind
colors: {
custom: {
50: '#7373af',
500: '#2f3f8d',
950: '#000000',
},
}SCSS
$custom: #2f3f8d; $custom-light: #7373af; $custom-dark: #000000;
JSON
{
"hex": "#2f3f8d",
"rgb": {
"r": 47,
"g": 63,
"b": 141
},
"hsl": {
"h": 229.787,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.40094,
"c": 0.13032,
"h": 270.7
},
"luminance": 0.06082
}Semantic roles & 50–950 ramp
primary
#2F3F8D
secondary
#B4A664
accent
#C24EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F