#2342BC#2342BC
#2342BC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.194 H 266.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2342BC |
|---|---|
| RGB | rgb(35, 66, 188) |
| HSL | hsl(228, 69%, 44%) |
| HSV | hsv(228, 81%, 74%) |
| CMYK | cmyk(81.4%, 64.9%, 0%, 26.3%) |
| CIE-LAB | lab(33.74, 34.44, -66.96) |
| CIE-LCH | lch(33.74, 75.30, 297.22°) |
| OKLab | oklab(44.22% -0.0113 -0.1939) |
| OKLCH | oklch(44.22% 0.194 266.7) |
| XYZ | xyz(11.7153, 7.8832, 48.4714) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.48
Sapphire (survey)
#2138AB
ΔE00 3.56
Blue (survey)
#0343DF
ΔE00 4.27
Cobalt
#0047AB
ΔE00 4.49
Ocean Blue
#4F42B5
ΔE00 5.28
Sapphire
#0F52BA
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2342BC #BC9D23
analogous
#238EBC #2342BC #5023BC
triadic
#2342BC #BC2342 #42BC23
tetradic
#2342BC #BC238E #BC9D23 #23BC50
square
#2342BC #BC238E #BC9D23 #23BC50
split-complementary
#2342BC #BC5023 #8EBC23
monochromatic
#101E55 #193088 #2342BC #4160DC #748BE5
Accessibility & contrast
On white
8.15
#2342BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2342BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2342BC
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2342BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2342BC | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2342bc; /* rgb */ color: rgb(35, 66, 188); /* oklch */ color: oklch(44.2% 0.194 266.7);
Tailwind
colors: {
custom: {
50: '#7976d1',
500: '#2342bc',
950: '#000000',
},
}SCSS
$custom: #2342bc; $custom-light: #7976d1; $custom-dark: #000000;
JSON
{
"hex": "#2342bc",
"rgb": {
"r": 35,
"g": 66,
"b": 188
},
"hsl": {
"h": 227.843,
"s": 68.61,
"l": 43.725
},
"oklch": {
"l": 0.44216,
"c": 0.19421,
"h": 266.7
},
"luminance": 0.07885
}Semantic roles & 50–950 ramp
primary
#2342BC
secondary
#CCB96F
accent
#C83CEB
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83