#2F3B97#2F3B97
#2F3B97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.150 H 272.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3B97 |
|---|---|
| RGB | rgb(47, 59, 151) |
| HSL | hsl(233, 53%, 39%) |
| HSV | hsv(233, 69%, 59%) |
| CMYK | cmyk(68.9%, 60.9%, 0%, 40.8%) |
| CIE-LAB | lab(29.33, 26.64, -51.97) |
| CIE-LCH | lch(29.33, 58.40, 297.14°) |
| OKLab | oklab(40.12% 0.0055 -0.1498) |
| OKLCH | oklch(40.12% 0.15 272.1) |
| XYZ | xyz(8.3203, 5.9659, 29.9852) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.22
Blueberry
#464196
ΔE00 3.79
Darkslateblue
#483D8B
ΔE00 4.98
Cobalt
#0047AB
ΔE00 6.12
Cobalt (survey)
#1E488F
ΔE00 6.47
Ocean Blue
#4F42B5
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3B97 #978B2F
analogous
#2F6F97 #2F3B97 #572F97
triadic
#2F3B97 #972F3B #3B972F
tetradic
#2F3B97 #972F6F #978B2F #2F9757
square
#2F3B97 #972F6F #978B2F #2F9757
split-complementary
#2F3B97 #97572F #6F972F
monochromatic
#12173A #202968 #2F3B97 #404FC3 #6E7AD2
Accessibility & contrast
On white
9.57
#2F3B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2F3B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3B97
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3B97 | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f3b97; /* rgb */ color: rgb(47, 59, 151); /* oklch */ color: oklch(40.1% 0.150 272.1);
Tailwind
colors: {
custom: {
50: '#7570b6',
500: '#2f3b97',
950: '#000000',
},
}SCSS
$custom: #2f3b97; $custom-light: #7570b6; $custom-dark: #000000;
JSON
{
"hex": "#2f3b97",
"rgb": {
"r": 47,
"g": 59,
"b": 151
},
"hsl": {
"h": 233.077,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.40123,
"c": 0.14989,
"h": 272.1
},
"luminance": 0.05967
}Semantic roles & 50–950 ramp
primary
#2F3B97
secondary
#B9B068
accent
#CB4CDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80