#2F3A91#2F3A91
#2F3A91 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.143 H 272.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3A91 |
|---|---|
| RGB | rgb(47, 58, 145) |
| HSL | hsl(233, 51%, 38%) |
| HSV | hsv(233, 68%, 57%) |
| CMYK | cmyk(67.6%, 60%, 0%, 43.1%) |
| CIE-LAB | lab(28.57, 25.10, -49.52) |
| CIE-LCH | lch(28.57, 55.51, 296.88°) |
| OKLab | oklab(39.41% 0.0064 -0.1426) |
| OKLCH | oklch(39.41% 0.143 272.6) |
| XYZ | xyz(7.7945, 5.6741, 27.4670) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.90
Sapphire (survey)
#2138AB
ΔE00 4.03
Darkslateblue
#483D8B
ΔE00 4.68
Cobalt (survey)
#1E488F
ΔE00 6.52
Cobalt
#0047AB
ΔE00 6.66
Ocean Blue
#4F42B5
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3A91 #91862F
analogous
#2F6B91 #2F3A91 #552F91
triadic
#2F3A91 #912F3A #3A912F
tetradic
#2F3A91 #912F6B #91862F #2F9155
square
#2F3A91 #912F6B #91862F #2F9155
split-complementary
#2F3A91 #91552F #6B912F
monochromatic
#111535 #202863 #2F3A91 #3E4CBF #6B76CF
Accessibility & contrast
On white
9.84
#2F3A91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2F3A91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3A91
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3A91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3A91 | 1.00 | 9.84 | 2.14 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f3a91; /* rgb */ color: rgb(47, 58, 145); /* oklch */ color: oklch(39.4% 0.143 272.6);
Tailwind
colors: {
custom: {
50: '#7470b2',
500: '#2f3a91',
950: '#000000',
},
}SCSS
$custom: #2f3a91; $custom-light: #7470b2; $custom-dark: #000000;
JSON
{
"hex": "#2f3a91",
"rgb": {
"r": 47,
"g": 58,
"b": 145
},
"hsl": {
"h": 233.265,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.39412,
"c": 0.14273,
"h": 272.6
},
"luminance": 0.05675
}Semantic roles & 50–950 ramp
primary
#2F3A91
secondary
#B6AD65
accent
#CB4DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80