#2F3491#2F3491
#2F3491 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.150 H 274.4°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3491 |
|---|---|
| RGB | rgb(47, 52, 145) |
| HSL | hsl(237, 51%, 38%) |
| HSV | hsv(237, 68%, 57%) |
| CMYK | cmyk(67.6%, 64.1%, 0%, 43.1%) |
| CIE-LAB | lab(27.03, 29.08, -52.04) |
| CIE-LCH | lch(27.03, 59.61, 299.20°) |
| OKLab | oklab(38.27% 0.0116 -0.15) |
| OKLCH | oklch(38.27% 0.15 274.4) |
| XYZ | xyz(7.5094, 5.1040, 27.3720) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.02
Blueberry
#464196
ΔE00 4.64
Darkslateblue
#483D8B
ΔE00 4.88
Royal
#0C1793
ΔE00 7.49
Ocean Blue
#4F42B5
ΔE00 7.51
Cobalt
#0047AB
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3491 #918C2F
analogous
#2F6591 #2F3491 #5B2F91
triadic
#2F3491 #912F34 #34912F
tetradic
#2F3491 #912F65 #918C2F #2F915B
square
#2F3491 #912F65 #918C2F #2F915B
split-complementary
#2F3491 #915B2F #65912F
monochromatic
#111335 #202363 #2F3491 #3E45BF #6B70CF
Accessibility & contrast
On white
10.39
#2F3491 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2F3491 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3491
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3491 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3491 | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f3491; /* rgb */ color: rgb(47, 52, 145); /* oklch */ color: oklch(38.3% 0.150 274.4);
Tailwind
colors: {
custom: {
50: '#746bb2',
500: '#2f3491',
950: '#000000',
},
}SCSS
$custom: #2f3491; $custom-light: #746bb2; $custom-dark: #000000;
JSON
{
"hex": "#2f3491",
"rgb": {
"r": 47,
"g": 52,
"b": 145
},
"hsl": {
"h": 236.939,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.38271,
"c": 0.15049,
"h": 274.4
},
"luminance": 0.05105
}Semantic roles & 50–950 ramp
primary
#2F3491
secondary
#B6B265
accent
#D34DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80