#2F3D95#2F3D95
#2F3D95 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.144 H 271.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3D95 |
|---|---|
| RGB | rgb(47, 61, 149) |
| HSL | hsl(232, 52%, 38%) |
| HSV | hsv(232, 68%, 58%) |
| CMYK | cmyk(68.5%, 59.1%, 0%, 41.6%) |
| CIE-LAB | lab(29.69, 24.56, -50.16) |
| CIE-LCH | lch(29.69, 55.85, 296.09°) |
| OKLab | oklab(40.34% 0.0038 -0.1444) |
| OKLCH | oklch(40.34% 0.144 271.5) |
| XYZ | xyz(8.2640, 6.1110, 29.1720) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.77
Sapphire (survey)
#2138AB
ΔE00 3.77
Darkslateblue
#483D8B
ΔE00 5.02
Cobalt
#0047AB
ΔE00 5.72
Cobalt (survey)
#1E488F
ΔE00 5.75
Ocean Blue
#4F42B5
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3D95 #95872F
analogous
#2F7095 #2F3D95 #542F95
triadic
#2F3D95 #952F3D #3D952F
tetradic
#2F3D95 #952F70 #95872F #2F9554
square
#2F3D95 #952F70 #95872F #2F9554
split-complementary
#2F3D95 #95542F #70952F
monochromatic
#121738 #202A66 #2F3D95 #3F51C2 #6D7BD1
Accessibility & contrast
On white
9.45
#2F3D95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2F3D95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3D95
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3D95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3D95 | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f3d95; /* rgb */ color: rgb(47, 61, 149); /* oklch */ color: oklch(40.3% 0.144 271.5);
Tailwind
colors: {
custom: {
50: '#7472b5',
500: '#2f3d95',
950: '#000000',
},
}SCSS
$custom: #2f3d95; $custom-light: #7472b5; $custom-dark: #000000;
JSON
{
"hex": "#2f3d95",
"rgb": {
"r": 47,
"g": 61,
"b": 149
},
"hsl": {
"h": 231.765,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.40343,
"c": 0.14448,
"h": 271.5
},
"luminance": 0.06112
}Semantic roles & 50–950 ramp
primary
#2F3D95
secondary
#B8AD67
accent
#C84CDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80