#2F33A3#2F33A3
#2F33A3 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.176 H 273.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F33A3 |
|---|---|
| RGB | rgb(47, 51, 163) |
| HSL | hsl(238, 55%, 41%) |
| HSV | hsv(238, 71%, 64%) |
| CMYK | cmyk(71.2%, 68.7%, 0%, 36.1%) |
| CIE-LAB | lab(28.42, 36.13, -60.75) |
| CIE-LCH | lch(28.42, 70.68, 300.74°) |
| OKLab | oklab(39.79% 0.0107 -0.1756) |
| OKLCH | oklch(39.79% 0.176 273.5) |
| XYZ | xyz(8.9648, 5.6155, 35.2547) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.33
Blueberry
#464196
ΔE00 5.39
Ocean Blue
#4F42B5
ΔE00 6.01
Darkslateblue
#483D8B
ΔE00 6.29
Indigo Blue
#3A18B1
ΔE00 6.30
Blue Blue
#2242C7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F33A3 #A39F2F
analogous
#2F6DA3 #2F33A3 #652FA3
triadic
#2F33A3 #A32F33 #33A32F
tetradic
#2F33A3 #A32F6D #A39F2F #2FA365
square
#2F33A3 #A32F6D #A39F2F #2FA365
split-complementary
#2F33A3 #A3652F #6DA32F
monochromatic
#141544 #212473 #2F33A3 #464ACA #7579D7
Accessibility & contrast
On white
9.89
#2F33A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2F33A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F33A3
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F33A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F33A3 | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f33a3; /* rgb */ color: rgb(47, 51, 163); /* oklch */ color: oklch(39.8% 0.176 273.5);
Tailwind
colors: {
custom: {
50: '#786bbf',
500: '#2f33a3',
950: '#000000',
},
}SCSS
$custom: #2f33a3; $custom-light: #786bbf; $custom-dark: #000000;
JSON
{
"hex": "#2f33a3",
"rgb": {
"r": 47,
"g": 51,
"b": 163
},
"hsl": {
"h": 237.931,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.39787,
"c": 0.1759,
"h": 273.5
},
"luminance": 0.05616
}Semantic roles & 50–950 ramp
primary
#2F33A3
secondary
#BFBC6F
accent
#D949DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81