#2F3C91#2F3C91
#2F3C91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.140 H 271.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C91 |
|---|---|
| RGB | rgb(47, 60, 145) |
| HSL | hsl(232, 51%, 38%) |
| HSV | hsv(232, 68%, 57%) |
| CMYK | cmyk(67.6%, 58.6%, 0%, 43.1%) |
| CIE-LAB | lab(29.11, 23.75, -48.65) |
| CIE-LCH | lch(29.11, 54.14, 296.02°) |
| OKLab | oklab(39.81% 0.0046 -0.14) |
| OKLCH | oklch(39.81% 0.14 271.9) |
| XYZ | xyz(7.8973, 5.8797, 27.5013) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.85
Sapphire (survey)
#2138AB
ΔE00 4.23
Darkslateblue
#483D8B
ΔE00 4.81
Cobalt (survey)
#1E488F
ΔE00 5.89
Cobalt
#0047AB
ΔE00 6.19
Darkish Blue
#014182
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C91 #91842F
analogous
#2F6D91 #2F3C91 #532F91
triadic
#2F3C91 #912F3C #3C912F
tetradic
#2F3C91 #912F6D #91842F #2F9153
square
#2F3C91 #912F6D #91842F #2F9153
split-complementary
#2F3C91 #91532F #6D912F
monochromatic
#111635 #202963 #2F3C91 #3E4FBF #6B79CF
Accessibility & contrast
On white
9.65
#2F3C91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2F3C91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C91
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C91 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f3c91; /* rgb */ color: rgb(47, 60, 145); /* oklch */ color: oklch(39.8% 0.140 271.9);
Tailwind
colors: {
custom: {
50: '#7471b2',
500: '#2f3c91',
950: '#000000',
},
}SCSS
$custom: #2f3c91; $custom-light: #7471b2; $custom-dark: #000000;
JSON
{
"hex": "#2f3c91",
"rgb": {
"r": 47,
"g": 60,
"b": 145
},
"hsl": {
"h": 232.041,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.39808,
"c": 0.1401,
"h": 271.9
},
"luminance": 0.0588
}Semantic roles & 50–950 ramp
primary
#2F3C91
secondary
#B6AC65
accent
#C84DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80