#3242AB#3242AB
#3242AB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.4% C 0.168 H 271.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #3242AB |
|---|---|
| RGB | rgb(50, 66, 171) |
| HSL | hsl(232, 55%, 43%) |
| HSV | hsv(232, 71%, 67%) |
| CMYK | cmyk(70.8%, 61.4%, 0%, 32.9%) |
| CIE-LAB | lab(32.95, 29.77, -58.14) |
| CIE-LCH | lch(32.95, 65.32, 297.12°) |
| OKLab | oklab(43.37% 0.0028 -0.1677) |
| OKLCH | oklch(43.37% 0.168 271) |
| XYZ | xyz(10.6118, 7.5138, 39.4112) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.04
Blue Blue
#2242C7
ΔE00 3.73
Blueberry
#464196
ΔE00 4.57
Cobalt
#0047AB
ΔE00 4.61
Ocean Blue
#4F42B5
ΔE00 4.64
Cobalt (survey)
#1E488F
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3242AB #AB9B32
analogous
#327EAB #3242AB #5E32AB
triadic
#3242AB #AB3242 #42AB32
tetradic
#3242AB #AB327E #AB9B32 #32AB5E
square
#3242AB #AB327E #AB9B32 #32AB5E
split-complementary
#3242AB #AB5E32 #7EAB32
monochromatic
#161D4C #24307C #3242AB #4F5FCB #7E8AD9
Accessibility & contrast
On white
8.39
#3242AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#3242AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3242AB
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3242AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3242AB | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3242ab; /* rgb */ color: rgb(50, 66, 171); /* oklch */ color: oklch(43.4% 0.168 271.0);
Tailwind
colors: {
custom: {
50: '#7a76c5',
500: '#3242ab',
950: '#000000',
},
}SCSS
$custom: #3242ab; $custom-light: #7a76c5; $custom-dark: #000000;
JSON
{
"hex": "#3242ab",
"rgb": {
"r": 50,
"g": 66,
"b": 171
},
"hsl": {
"h": 232.066,
"s": 54.751,
"l": 43.333
},
"oklch": {
"l": 0.43367,
"c": 0.16777,
"h": 271
},
"luminance": 0.07515
}Semantic roles & 50–950 ramp
primary
#3242AB
secondary
#C2B877
accent
#CA4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82