#2F3099#2F3099
#2F3099 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.166 H 274.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3099 |
|---|---|
| RGB | rgb(47, 48, 153) |
| HSL | hsl(239, 53%, 39%) |
| HSV | hsv(239, 69%, 60%) |
| CMYK | cmyk(69.3%, 68.6%, 0%, 40%) |
| CIE-LAB | lab(26.78, 34.50, -57.35) |
| CIE-LCH | lch(26.78, 66.93, 301.03°) |
| OKLab | oklab(38.32% 0.0139 -0.1656) |
| OKLCH | oklch(38.32% 0.166 274.8) |
| XYZ | xyz(7.9771, 5.0174, 30.6789) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.63
Blueberry
#464196
ΔE00 5.56
Darkslateblue
#483D8B
ΔE00 5.89
Royal
#0C1793
ΔE00 6.23
Indigo Blue
#3A18B1
ΔE00 6.37
Ocean Blue
#4F42B5
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3099 #99982F
analogous
#2F6599 #2F3099 #632F99
triadic
#2F3099 #992F30 #30992F
tetradic
#2F3099 #992F65 #99982F #2F9963
square
#2F3099 #992F65 #99982F #2F9963
split-complementary
#2F3099 #99632F #65992F
monochromatic
#12133B #21216A #2F3099 #4142C5 #6F70D3
Accessibility & contrast
On white
10.48
#2F3099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F3099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3099
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3099 | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f3099; /* rgb */ color: rgb(47, 48, 153); /* oklch */ color: oklch(38.3% 0.166 274.8);
Tailwind
colors: {
custom: {
50: '#7669b8',
500: '#2f3099',
950: '#000000',
},
}SCSS
$custom: #2f3099; $custom-light: #7669b8; $custom-dark: #000000;
JSON
{
"hex": "#2f3099",
"rgb": {
"r": 47,
"g": 48,
"b": 153
},
"hsl": {
"h": 239.434,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.38315,
"c": 0.16622,
"h": 274.8
},
"luminance": 0.05018
}Semantic roles & 50–950 ramp
primary
#2F3099
secondary
#BABA69
accent
#DB4BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80