#2F3B95#2F3B95
#2F3B95 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.147 H 272.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3B95 |
|---|---|
| RGB | rgb(47, 59, 149) |
| HSL | hsl(233, 52%, 38%) |
| HSV | hsv(233, 68%, 58%) |
| CMYK | cmyk(68.5%, 60.4%, 0%, 41.6%) |
| CIE-LAB | lab(29.16, 25.90, -51.02) |
| CIE-LCH | lch(29.16, 57.21, 296.92°) |
| OKLab | oklab(39.95% 0.0055 -0.147) |
| OKLCH | oklch(39.95% 0.147 272.1) |
| XYZ | xyz(8.1592, 5.9014, 29.1370) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.51
Blueberry
#464196
ΔE00 3.79
Darkslateblue
#483D8B
ΔE00 4.88
Cobalt
#0047AB
ΔE00 6.20
Cobalt (survey)
#1E488F
ΔE00 6.37
Ocean Blue
#4F42B5
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3B95 #95892F
analogous
#2F6E95 #2F3B95 #562F95
triadic
#2F3B95 #952F3B #3B952F
tetradic
#2F3B95 #952F6E #95892F #2F9556
square
#2F3B95 #952F6E #95892F #2F9556
split-complementary
#2F3B95 #95562F #6E952F
monochromatic
#121638 #202966 #2F3B95 #3F4EC2 #6D79D1
Accessibility & contrast
On white
9.63
#2F3B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2F3B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3B95
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3B95 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f3b95; /* rgb */ color: rgb(47, 59, 149); /* oklch */ color: oklch(40.0% 0.147 272.1);
Tailwind
colors: {
custom: {
50: '#7570b5',
500: '#2f3b95',
950: '#000000',
},
}SCSS
$custom: #2f3b95; $custom-light: #7570b5; $custom-dark: #000000;
JSON
{
"hex": "#2f3b95",
"rgb": {
"r": 47,
"g": 59,
"b": 149
},
"hsl": {
"h": 232.941,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.3995,
"c": 0.14708,
"h": 272.1
},
"luminance": 0.05902
}Semantic roles & 50–950 ramp
primary
#2F3B95
secondary
#B8AF67
accent
#CB4CDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80