#2F3697#2F3697
#2F3697 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.156 H 273.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3697 |
|---|---|
| RGB | rgb(47, 54, 151) |
| HSL | hsl(236, 53%, 39%) |
| HSV | hsv(236, 69%, 59%) |
| CMYK | cmyk(68.9%, 64.2%, 0%, 40.8%) |
| CIE-LAB | lab(28.05, 29.94, -54.05) |
| CIE-LCH | lch(28.05, 61.79, 298.98°) |
| OKLab | oklab(39.18% 0.0096 -0.1559) |
| OKLCH | oklch(39.18% 0.156 273.5) |
| XYZ | xyz(8.0755, 5.4763, 29.9036) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.08
Blueberry
#464196
ΔE00 4.34
Darkslateblue
#483D8B
ΔE00 5.06
Ocean Blue
#4F42B5
ΔE00 6.74
Blue Blue
#2242C7
ΔE00 7.23
Cobalt
#0047AB
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3697 #97902F
analogous
#2F6A97 #2F3697 #5C2F97
triadic
#2F3697 #972F36 #36972F
tetradic
#2F3697 #972F6A #97902F #2F975C
square
#2F3697 #972F6A #97902F #2F975C
split-complementary
#2F3697 #975C2F #6A972F
monochromatic
#12153A #202568 #2F3697 #4049C3 #6E75D2
Accessibility & contrast
On white
10.02
#2F3697 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2F3697 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3697
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3697 | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f3697; /* rgb */ color: rgb(47, 54, 151); /* oklch */ color: oklch(39.2% 0.156 273.5);
Tailwind
colors: {
custom: {
50: '#756db6',
500: '#2f3697',
950: '#000000',
},
}SCSS
$custom: #2f3697; $custom-light: #756db6; $custom-dark: #000000;
JSON
{
"hex": "#2f3697",
"rgb": {
"r": 47,
"g": 54,
"b": 151
},
"hsl": {
"h": 235.962,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.39182,
"c": 0.15624,
"h": 273.5
},
"luminance": 0.05477
}Semantic roles & 50–950 ramp
primary
#2F3697
secondary
#B9B468
accent
#D24CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80