#2F3F99#2F3F99
#2F3F99 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.148 H 270.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3F99 |
|---|---|
| RGB | rgb(47, 63, 153) |
| HSL | hsl(231, 53%, 39%) |
| HSV | hsv(231, 69%, 60%) |
| CMYK | cmyk(69.3%, 58.8%, 0%, 40%) |
| CIE-LAB | lab(30.54, 24.71, -51.22) |
| CIE-LCH | lch(30.54, 56.86, 295.75°) |
| OKLab | oklab(41.08% 0.0021 -0.1475) |
| OKLCH | oklch(41.08% 0.148 270.8) |
| XYZ | xyz(8.6976, 6.4584, 30.9191) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.59
Blueberry
#464196
ΔE00 3.84
Cobalt
#0047AB
ΔE00 5.05
Cobalt (survey)
#1E488F
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 5.41
Blue Blue
#2242C7
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3F99 #99892F
analogous
#2F7499 #2F3F99 #542F99
triadic
#2F3F99 #992F3F #3F992F
tetradic
#2F3F99 #992F74 #99892F #2F9954
square
#2F3F99 #992F74 #99892F #2F9954
split-complementary
#2F3F99 #99542F #74992F
monochromatic
#12183B #212C6A #2F3F99 #4155C5 #6F7ED3
Accessibility & contrast
On white
9.16
#2F3F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2F3F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3F99
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3F99 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f3f99; /* rgb */ color: rgb(47, 63, 153); /* oklch */ color: oklch(41.1% 0.148 270.8);
Tailwind
colors: {
custom: {
50: '#7573b8',
500: '#2f3f99',
950: '#000000',
},
}SCSS
$custom: #2f3f99; $custom-light: #7573b8; $custom-dark: #000000;
JSON
{
"hex": "#2f3f99",
"rgb": {
"r": 47,
"g": 63,
"b": 153
},
"hsl": {
"h": 230.943,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.41077,
"c": 0.14753,
"h": 270.8
},
"luminance": 0.06459
}Semantic roles & 50–950 ramp
primary
#2F3F99
secondary
#BAAE69
accent
#C74BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80