#2F33AE#2F33AE
#2F33AE is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.190 H 272.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F33AE |
|---|---|
| RGB | rgb(47, 51, 174) |
| HSL | hsl(238, 57%, 43%) |
| HSV | hsv(238, 73%, 68%) |
| CMYK | cmyk(73%, 70.7%, 0%, 31.8%) |
| CIE-LAB | lab(29.48, 39.95, -65.62) |
| CIE-LCH | lch(29.48, 76.83, 301.34°) |
| OKLab | oklab(40.87% 0.0093 -0.1898) |
| OKLCH | oklch(40.87% 0.19 272.8) |
| XYZ | xyz(9.9935, 6.0270, 40.6728) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.34
Blue Blue
#2242C7
ΔE00 5.36
Ocean Blue
#4F42B5
ΔE00 5.41
Indigo Blue
#3A18B1
ΔE00 5.78
Blue With A Hint Of Purple
#533CC6
ΔE00 6.06
Blueberry
#464196
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F33AE #AEAA2F
analogous
#2F72AE #2F33AE #6A2FAE
triadic
#2F33AE #AE2F33 #33AE2F
tetradic
#2F33AE #AE2F72 #AEAA2F #2FAE6A
square
#2F33AE #AE2F72 #AEAA2F #2FAE6A
split-complementary
#2F33AE #AE6A2F #72AE2F
monochromatic
#15174E #22257E #2F33AE #4C50CF #7C7FDC
Accessibility & contrast
On white
9.52
#2F33AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2F33AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F33AE
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F33AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F33AE | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f33ae; /* rgb */ color: rgb(47, 51, 174); /* oklch */ color: oklch(40.9% 0.190 272.8);
Tailwind
colors: {
custom: {
50: '#7b6bc7',
500: '#2f33ae',
950: '#000000',
},
}SCSS
$custom: #2f33ae; $custom-light: #7b6bc7; $custom-dark: #000000;
JSON
{
"hex": "#2f33ae",
"rgb": {
"r": 47,
"g": 51,
"b": 174
},
"hsl": {
"h": 238.11,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.40872,
"c": 0.19004,
"h": 272.8
},
"luminance": 0.06028
}Semantic roles & 50–950 ramp
primary
#2F33AE
secondary
#C4C275
accent
#DC47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82