#2342A3#2342A3
#2342A3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.161 H 266.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2342A3 |
|---|---|
| RGB | rgb(35, 66, 163) |
| HSL | hsl(225, 65%, 39%) |
| HSV | hsv(225, 79%, 64%) |
| CMYK | cmyk(78.5%, 59.5%, 0%, 36.1%) |
| CIE-LAB | lab(31.57, 24.94, -55.62) |
| CIE-LCH | lch(31.57, 60.95, 294.15°) |
| OKLab | oklab(41.94% -0.0112 -0.1607) |
| OKLCH | oklch(41.94% 0.161 266) |
| XYZ | xyz(9.2499, 6.8970, 35.4870) |
| Luminance | 0.0690 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.93
Sapphire (survey)
#2138AB
ΔE00 3.62
Cobalt (survey)
#1E488F
ΔE00 4.47
Blue Blue
#2242C7
ΔE00 5.06
Blueberry
#464196
ΔE00 5.61
Sapphire
#0F52BA
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2342A3 #A38423
analogous
#2382A3 #2342A3 #4423A3
triadic
#2342A3 #A32342 #42A323
tetradic
#2342A3 #A32382 #A38423 #23A344
square
#2342A3 #A32382 #A38423 #23A344
split-complementary
#2342A3 #A34423 #82A323
monochromatic
#0D193E #182E71 #2342A3 #3158D3 #6381DD
Accessibility & contrast
On white
8.83
#2342A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2342A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2342A3
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2342A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2342A3 | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2342a3; /* rgb */ color: rgb(35, 66, 163); /* oklch */ color: oklch(41.9% 0.161 266.0);
Tailwind
colors: {
custom: {
50: '#7375bf',
500: '#2342a3',
950: '#000000',
},
}SCSS
$custom: #2342a3; $custom-light: #7375bf; $custom-dark: #000000;
JSON
{
"hex": "#2342a3",
"rgb": {
"r": 35,
"g": 66,
"b": 163
},
"hsl": {
"h": 225.469,
"s": 64.646,
"l": 38.824
},
"oklch": {
"l": 0.41941,
"c": 0.16105,
"h": 266
},
"luminance": 0.06898
}Semantic roles & 50–950 ramp
primary
#2342A3
secondary
#C3AB5F
accent
#BF40E8
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81