#332FAF#332FAF
#332FAF is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.194 H 274.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #332FAF |
|---|---|
| RGB | rgb(51, 47, 175) |
| HSL | hsl(242, 58%, 44%) |
| HSV | hsv(242, 73%, 69%) |
| CMYK | cmyk(70.9%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(28.98, 43.07, -67.03) |
| CIE-LCH | lch(28.98, 79.68, 302.72°) |
| OKLab | oklab(40.61% 0.0162 -0.1938) |
| OKLCH | oklch(40.61% 0.194 274.8) |
| XYZ | xyz(10.1171, 5.8310, 41.1415) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.53
Indigo Blue
#3A18B1
ΔE00 4.58
Ocean Blue
#4F42B5
ΔE00 5.79
Blue With A Hint Of Purple
#533CC6
ΔE00 6.01
True Blue
#010FCC
ΔE00 6.07
Blue Blue
#2242C7
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332FAF #ABAF2F
analogous
#2F6BAF #332FAF #732FAF
triadic
#332FAF #AF332F #2FAF33
tetradic
#332FAF #AF2F6B #ABAF2F #2FAF73
square
#332FAF #AF2F6B #ABAF2F #2FAF73
split-complementary
#332FAF #AF732F #6BAF2F
monochromatic
#17154F #25227F #332FAF #504CCF #7F7CDC
Accessibility & contrast
On white
9.69
#332FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#332FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332FAF
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332FAF | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #332faf; /* rgb */ color: rgb(51, 47, 175); /* oklch */ color: oklch(40.6% 0.194 274.8);
Tailwind
colors: {
custom: {
50: '#7d69c8',
500: '#332faf',
950: '#000000',
},
}SCSS
$custom: #332faf; $custom-light: #7d69c8; $custom-dark: #000000;
JSON
{
"hex": "#332faf",
"rgb": {
"r": 51,
"g": 47,
"b": 175
},
"hsl": {
"h": 241.875,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.40613,
"c": 0.19449,
"h": 274.8
},
"luminance": 0.05832
}Semantic roles & 50–950 ramp
primary
#332FAF
secondary
#C2C475
accent
#E147DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82