#2F3795#2F3795
#2F3795 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.152 H 273.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3795 |
|---|---|
| RGB | rgb(47, 55, 149) |
| HSL | hsl(235, 52%, 38%) |
| HSV | hsv(235, 68%, 58%) |
| CMYK | cmyk(68.5%, 63.1%, 0%, 41.6%) |
| CIE-LAB | lab(28.13, 28.55, -52.70) |
| CIE-LCH | lch(28.13, 59.94, 298.45°) |
| OKLab | oklab(39.19% 0.0089 -0.152) |
| OKLCH | oklch(39.19% 0.152 273.3) |
| XYZ | xyz(7.9615, 5.5059, 29.0711) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.33
Blueberry
#464196
ΔE00 4.16
Darkslateblue
#483D8B
ΔE00 4.88
Ocean Blue
#4F42B5
ΔE00 6.89
Cobalt
#0047AB
ΔE00 7.23
Blue Blue
#2242C7
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3795 #958D2F
analogous
#2F6A95 #2F3795 #5A2F95
triadic
#2F3795 #952F37 #37952F
tetradic
#2F3795 #952F6A #958D2F #2F955A
square
#2F3795 #952F6A #958D2F #2F955A
split-complementary
#2F3795 #955A2F #6A952F
monochromatic
#121538 #202666 #2F3795 #3F49C2 #6D75D1
Accessibility & contrast
On white
9.99
#2F3795 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2F3795 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3795
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3795 | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f3795; /* rgb */ color: rgb(47, 55, 149); /* oklch */ color: oklch(39.2% 0.152 273.3);
Tailwind
colors: {
custom: {
50: '#756eb5',
500: '#2f3795',
950: '#000000',
},
}SCSS
$custom: #2f3795; $custom-light: #756eb5; $custom-dark: #000000;
JSON
{
"hex": "#2f3795",
"rgb": {
"r": 47,
"g": 55,
"b": 149
},
"hsl": {
"h": 235.294,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.39187,
"c": 0.15222,
"h": 273.3
},
"luminance": 0.05507
}Semantic roles & 50–950 ramp
primary
#2F3795
secondary
#B8B267
accent
#D04CDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80