#2F3F97#2F3F97
#2F3F97 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.145 H 270.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3F97 |
|---|---|
| RGB | rgb(47, 63, 151) |
| HSL | hsl(231, 53%, 39%) |
| HSV | hsv(231, 69%, 59%) |
| CMYK | cmyk(68.9%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(30.38, 23.97, -50.25) |
| CIE-LCH | lch(30.38, 55.68, 295.50°) |
| OKLab | oklab(40.91% 0.002 -0.1447) |
| OKLCH | oklch(40.91% 0.145 270.8) |
| XYZ | xyz(8.5338, 6.3929, 30.0564) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.84
Sapphire (survey)
#2138AB
ΔE00 3.85
Cobalt
#0047AB
ΔE00 5.15
Cobalt (survey)
#1E488F
ΔE00 5.25
Darkslateblue
#483D8B
ΔE00 5.33
Blue Blue
#2242C7
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3F97 #97872F
analogous
#2F7397 #2F3F97 #532F97
triadic
#2F3F97 #972F3F #3F972F
tetradic
#2F3F97 #972F73 #97872F #2F9753
square
#2F3F97 #972F73 #97872F #2F9753
split-complementary
#2F3F97 #97532F #73972F
monochromatic
#12183A #202C68 #2F3F97 #4054C3 #6E7ED2
Accessibility & contrast
On white
9.22
#2F3F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2F3F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3F97
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3F97 | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f3f97; /* rgb */ color: rgb(47, 63, 151); /* oklch */ color: oklch(40.9% 0.145 270.8);
Tailwind
colors: {
custom: {
50: '#7573b6',
500: '#2f3f97',
950: '#000000',
},
}SCSS
$custom: #2f3f97; $custom-light: #7573b6; $custom-dark: #000000;
JSON
{
"hex": "#2f3f97",
"rgb": {
"r": 47,
"g": 63,
"b": 151
},
"hsl": {
"h": 230.769,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.40909,
"c": 0.1447,
"h": 270.8
},
"luminance": 0.06394
}Semantic roles & 50–950 ramp
primary
#2F3F97
secondary
#B9AD68
accent
#C64CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80