#2F3B91#2F3B91
#2F3B91 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.141 H 272.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3B91 |
|---|---|
| RGB | rgb(47, 59, 145) |
| HSL | hsl(233, 51%, 38%) |
| HSV | hsv(233, 68%, 57%) |
| CMYK | cmyk(67.6%, 59.3%, 0%, 43.1%) |
| CIE-LAB | lab(28.84, 24.43, -49.09) |
| CIE-LCH | lch(28.84, 54.83, 296.46°) |
| OKLab | oklab(39.61% 0.0055 -0.1413) |
| OKLCH | oklch(39.61% 0.141 272.2) |
| XYZ | xyz(7.8454, 5.7759, 27.4840) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.86
Sapphire (survey)
#2138AB
ΔE00 4.12
Darkslateblue
#483D8B
ΔE00 4.73
Cobalt (survey)
#1E488F
ΔE00 6.20
Cobalt
#0047AB
ΔE00 6.42
Darkish Blue
#014182
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3B91 #91852F
analogous
#2F6C91 #2F3B91 #542F91
triadic
#2F3B91 #912F3B #3B912F
tetradic
#2F3B91 #912F6C #91852F #2F9154
square
#2F3B91 #912F6C #91852F #2F9154
split-complementary
#2F3B91 #91542F #6C912F
monochromatic
#111535 #202863 #2F3B91 #3E4EBF #6B78CF
Accessibility & contrast
On white
9.74
#2F3B91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2F3B91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3B91
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3B91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3B91 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3b91; /* rgb */ color: rgb(47, 59, 145); /* oklch */ color: oklch(39.6% 0.141 272.2);
Tailwind
colors: {
custom: {
50: '#7470b2',
500: '#2f3b91',
950: '#000000',
},
}SCSS
$custom: #2f3b91; $custom-light: #7470b2; $custom-dark: #000000;
JSON
{
"hex": "#2f3b91",
"rgb": {
"r": 47,
"g": 59,
"b": 145
},
"hsl": {
"h": 232.653,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.39609,
"c": 0.14142,
"h": 272.2
},
"luminance": 0.05777
}Semantic roles & 50–950 ramp
primary
#2F3B91
secondary
#B6AC65
accent
#C94DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80