#2F3C95#2F3C95
#2F3C95 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.146 H 271.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C95 |
|---|---|
| RGB | rgb(47, 60, 149) |
| HSL | hsl(232, 52%, 38%) |
| HSV | hsv(232, 68%, 58%) |
| CMYK | cmyk(68.5%, 59.7%, 0%, 41.6%) |
| CIE-LAB | lab(29.43, 25.23, -50.59) |
| CIE-LCH | lch(29.43, 56.53, 296.51°) |
| OKLab | oklab(40.15% 0.0046 -0.1457) |
| OKLCH | oklch(40.15% 0.146 271.8) |
| XYZ | xyz(8.2111, 6.0052, 29.1543) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.63
Blueberry
#464196
ΔE00 3.76
Darkslateblue
#483D8B
ΔE00 4.94
Cobalt
#0047AB
ΔE00 5.96
Cobalt (survey)
#1E488F
ΔE00 6.06
Ocean Blue
#4F42B5
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C95 #95882F
analogous
#2F6F95 #2F3C95 #552F95
triadic
#2F3C95 #952F3C #3C952F
tetradic
#2F3C95 #952F6F #95882F #2F9555
square
#2F3C95 #952F6F #95882F #2F9555
split-complementary
#2F3C95 #95552F #6F952F
monochromatic
#121738 #202966 #2F3C95 #3F50C2 #6D7AD1
Accessibility & contrast
On white
9.54
#2F3C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2F3C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C95
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C95 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f3c95; /* rgb */ color: rgb(47, 60, 149); /* oklch */ color: oklch(40.1% 0.146 271.8);
Tailwind
colors: {
custom: {
50: '#7471b5',
500: '#2f3c95',
950: '#000000',
},
}SCSS
$custom: #2f3c95; $custom-light: #7471b5; $custom-dark: #000000;
JSON
{
"hex": "#2f3c95",
"rgb": {
"r": 47,
"g": 60,
"b": 149
},
"hsl": {
"h": 232.353,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.40146,
"c": 0.14578,
"h": 271.8
},
"luminance": 0.06006
}Semantic roles & 50–950 ramp
primary
#2F3C95
secondary
#B8AE67
accent
#C94CDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80