#2F33A5#2F33A5
#2F33A5 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.178 H 273.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F33A5 |
|---|---|
| RGB | rgb(47, 51, 165) |
| HSL | hsl(238, 56%, 42%) |
| HSV | hsv(238, 72%, 65%) |
| CMYK | cmyk(71.5%, 69.1%, 0%, 35.3%) |
| CIE-LAB | lab(28.61, 36.83, -61.64) |
| CIE-LCH | lch(28.61, 71.81, 300.86°) |
| OKLab | oklab(39.98% 0.0105 -0.1782) |
| OKLCH | oklch(39.98% 0.179 273.4) |
| XYZ | xyz(9.1454, 5.6877, 36.2059) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.26
Blueberry
#464196
ΔE00 5.51
Ocean Blue
#4F42B5
ΔE00 5.88
Blue Blue
#2242C7
ΔE00 6.13
Indigo Blue
#3A18B1
ΔE00 6.17
Darkslateblue
#483D8B
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F33A5 #A5A12F
analogous
#2F6EA5 #2F33A5 #662FA5
triadic
#2F33A5 #A52F33 #33A52F
tetradic
#2F33A5 #A52F6E #A5A12F #2FA566
square
#2F33A5 #A52F6E #A5A12F #2FA566
split-complementary
#2F33A5 #A5662F #6EA52F
monochromatic
#141646 #212475 #2F33A5 #474BCB #767AD8
Accessibility & contrast
On white
9.82
#2F33A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2F33A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F33A5
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F33A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F33A5 | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f33a5; /* rgb */ color: rgb(47, 51, 165); /* oklch */ color: oklch(40.0% 0.178 273.4);
Tailwind
colors: {
custom: {
50: '#796bc1',
500: '#2f33a5',
950: '#000000',
},
}SCSS
$custom: #2f33a5; $custom-light: #796bc1; $custom-dark: #000000;
JSON
{
"hex": "#2f33a5",
"rgb": {
"r": 47,
"g": 51,
"b": 165
},
"hsl": {
"h": 237.966,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.39982,
"c": 0.1785,
"h": 273.4
},
"luminance": 0.05689
}Semantic roles & 50–950 ramp
primary
#2F33A5
secondary
#C0BD70
accent
#DA49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0712
muted
#7C7A81