#2F2F98#2F2F98
#2F2F98 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.166 H 275.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F98 |
|---|---|
| RGB | rgb(47, 47, 152) |
| HSL | hsl(240, 53%, 39%) |
| HSV | hsv(240, 69%, 60%) |
| CMYK | cmyk(69.1%, 69.1%, 0%, 40.4%) |
| CIE-LAB | lab(26.46, 34.77, -57.27) |
| CIE-LCH | lch(26.46, 67.00, 301.26°) |
| OKLab | oklab(38.05% 0.0148 -0.1654) |
| OKLCH | oklch(38.05% 0.166 275.1) |
| XYZ | xyz(7.8544, 4.9037, 30.2323) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.90
Blueberry
#464196
ΔE00 5.76
Darkslateblue
#483D8B
ΔE00 5.97
Royal
#0C1793
ΔE00 5.98
Indigo Blue
#3A18B1
ΔE00 6.24
Ocean Blue
#4F42B5
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F98 #98982F
analogous
#2F6498 #2F2F98 #642F98
triadic
#2F2F98 #982F2F #2F982F
tetradic
#2F2F98 #982F64 #98982F #2F9864
square
#2F2F98 #982F64 #98982F #2F9864
split-complementary
#2F2F98 #98642F #64982F
monochromatic
#12123B #212169 #2F2F98 #4040C4 #6F6FD2
Accessibility & contrast
On white
10.60
#2F2F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2F2F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F98
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F98 | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f2f98; /* rgb */ color: rgb(47, 47, 152); /* oklch */ color: oklch(38.0% 0.166 275.1);
Tailwind
colors: {
custom: {
50: '#7668b7',
500: '#2f2f98',
950: '#000000',
},
}SCSS
$custom: #2f2f98; $custom-light: #7668b7; $custom-dark: #000000;
JSON
{
"hex": "#2f2f98",
"rgb": {
"r": 47,
"g": 47,
"b": 152
},
"hsl": {
"h": 240,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.3805,
"c": 0.16607,
"h": 275.1
},
"luminance": 0.04904
}Semantic roles & 50–950 ramp
primary
#2F2F98
secondary
#BABA69
accent
#DC4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80