#2F3C99#2F3C99
#2F3C99 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.151 H 271.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C99 |
|---|---|
| RGB | rgb(47, 60, 153) |
| HSL | hsl(233, 53%, 39%) |
| HSV | hsv(233, 69%, 60%) |
| CMYK | cmyk(69.3%, 60.8%, 0%, 40%) |
| CIE-LAB | lab(29.75, 26.71, -52.50) |
| CIE-LCH | lch(29.75, 58.90, 296.96°) |
| OKLab | oklab(40.49% 0.0046 -0.1513) |
| OKLCH | oklch(40.49% 0.151 271.7) |
| XYZ | xyz(8.5360, 6.1352, 30.8652) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.06
Blueberry
#464196
ΔE00 3.78
Darkslateblue
#483D8B
ΔE00 5.14
Cobalt
#0047AB
ΔE00 5.79
Cobalt (survey)
#1E488F
ΔE00 6.28
Ocean Blue
#4F42B5
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C99 #998C2F
analogous
#2F7199 #2F3C99 #572F99
triadic
#2F3C99 #992F3C #3C992F
tetradic
#2F3C99 #992F71 #998C2F #2F9957
square
#2F3C99 #992F71 #998C2F #2F9957
split-complementary
#2F3C99 #99572F #71992F
monochromatic
#12173B #212A6A #2F3C99 #4151C5 #6F7CD3
Accessibility & contrast
On white
9.43
#2F3C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2F3C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C99
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C99 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f3c99; /* rgb */ color: rgb(47, 60, 153); /* oklch */ color: oklch(40.5% 0.151 271.7);
Tailwind
colors: {
custom: {
50: '#7571b8',
500: '#2f3c99',
950: '#000000',
},
}SCSS
$custom: #2f3c99; $custom-light: #7571b8; $custom-dark: #000000;
JSON
{
"hex": "#2f3c99",
"rgb": {
"r": 47,
"g": 60,
"b": 153
},
"hsl": {
"h": 232.642,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.40489,
"c": 0.1514,
"h": 271.7
},
"luminance": 0.06136
}Semantic roles & 50–950 ramp
primary
#2F3C99
secondary
#BAB069
accent
#CB4BDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80