#2F3E97#2F3E97
#2F3E97 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.146 H 271.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3E97 |
|---|---|
| RGB | rgb(47, 62, 151) |
| HSL | hsl(231, 53%, 39%) |
| HSV | hsv(231, 69%, 59%) |
| CMYK | cmyk(68.9%, 58.9%, 0%, 40.8%) |
| CIE-LAB | lab(30.12, 24.63, -50.69) |
| CIE-LCH | lch(30.12, 56.36, 295.92°) |
| OKLab | oklab(40.71% 0.0029 -0.146) |
| OKLCH | oklch(40.71% 0.146 271.1) |
| XYZ | xyz(8.4789, 6.2832, 30.0381) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.66
Blueberry
#464196
ΔE00 3.78
Darkslateblue
#483D8B
ΔE00 5.20
Cobalt
#0047AB
ΔE00 5.38
Cobalt (survey)
#1E488F
ΔE00 5.55
Blue Blue
#2242C7
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3E97 #97882F
analogous
#2F7297 #2F3E97 #542F97
triadic
#2F3E97 #972F3E #3E972F
tetradic
#2F3E97 #972F72 #97882F #2F9754
square
#2F3E97 #972F72 #97882F #2F9754
split-complementary
#2F3E97 #97542F #72972F
monochromatic
#12183A #202B68 #2F3E97 #4053C3 #6E7DD2
Accessibility & contrast
On white
9.31
#2F3E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2F3E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3E97
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3E97 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f3e97; /* rgb */ color: rgb(47, 62, 151); /* oklch */ color: oklch(40.7% 0.146 271.1);
Tailwind
colors: {
custom: {
50: '#7573b6',
500: '#2f3e97',
950: '#000000',
},
}SCSS
$custom: #2f3e97; $custom-light: #7573b6; $custom-dark: #000000;
JSON
{
"hex": "#2f3e97",
"rgb": {
"r": 47,
"g": 62,
"b": 151
},
"hsl": {
"h": 231.346,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.4071,
"c": 0.14601,
"h": 271.1
},
"luminance": 0.06284
}Semantic roles & 50–950 ramp
primary
#2F3E97
secondary
#B9AE68
accent
#C74CDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80