#2332B2#2332B2
#2332B2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.199 H 269.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2332B2 |
|---|---|
| RGB | rgb(35, 50, 178) |
| HSL | hsl(234, 67%, 42%) |
| HSV | hsv(234, 80%, 70%) |
| CMYK | cmyk(80.3%, 71.9%, 0%, 30.2%) |
| CIE-LAB | lab(29.04, 40.87, -68.77) |
| CIE-LCH | lch(29.04, 80.00, 300.73°) |
| OKLab | oklab(40.5% -0.0033 -0.1992) |
| OKLCH | oklch(40.5% 0.199 269.1) |
| XYZ | xyz(9.8669, 5.8517, 42.7203) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.15
Blue Blue
#2242C7
ΔE00 5.14
Indigo Blue
#3A18B1
ΔE00 5.95
Ocean Blue
#4F42B5
ΔE00 6.16
True Blue
#010FCC
ΔE00 6.55
Blue With A Hint Of Purple
#533CC6
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2332B2 #B2A323
analogous
#237AB2 #2332B2 #5B23B2
triadic
#2332B2 #B22332 #32B223
tetradic
#2332B2 #B2237A #B2A323 #23B25B
square
#2332B2 #B2237A #B2A323 #23B25B
split-complementary
#2332B2 #B25B23 #7AB223
monochromatic
#0F154C #19247F #2332B2 #3A4BD8 #6D79E2
Accessibility & contrast
On white
9.67
#2332B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2332B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2332B2
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2332B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2332B2 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2332b2; /* rgb */ color: rgb(35, 50, 178); /* oklch */ color: oklch(40.5% 0.199 269.1);
Tailwind
colors: {
custom: {
50: '#786bca',
500: '#2332b2',
950: '#000000',
},
}SCSS
$custom: #2332b2; $custom-light: #786bca; $custom-dark: #000000;
JSON
{
"hex": "#2332b2",
"rgb": {
"r": 35,
"g": 50,
"b": 178
},
"hsl": {
"h": 233.706,
"s": 67.136,
"l": 41.765
},
"oklch": {
"l": 0.40503,
"c": 0.19926,
"h": 269.1
},
"luminance": 0.05853
}Semantic roles & 50–950 ramp
primary
#2332B2
secondary
#C9BF68
accent
#D83EEA
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82