#2345B4#2345B4
#2345B4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.180 H 265.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2345B4 |
|---|---|
| RGB | rgb(35, 69, 180) |
| HSL | hsl(226, 67%, 42%) |
| HSV | hsv(226, 81%, 71%) |
| CMYK | cmyk(80.6%, 61.7%, 0%, 29.4%) |
| CIE-LAB | lab(33.79, 29.47, -62.15) |
| CIE-LCH | lch(33.79, 68.78, 295.37°) |
| OKLab | oklab(44.04% -0.0128 -0.1798) |
| OKLCH | oklch(44.04% 0.18 265.9) |
| XYZ | xyz(11.0566, 7.9076, 44.1147) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.89
Cobalt
#0047AB
ΔE00 3.10
Sapphire (survey)
#2138AB
ΔE00 4.03
Sapphire
#0F52BA
ΔE00 4.92
Blue (survey)
#0343DF
ΔE00 5.41
Ocean Blue
#4F42B5
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2345B4 #B49223
analogous
#238EB4 #2345B4 #4A23B4
triadic
#2345B4 #B42345 #45B423
tetradic
#2345B4 #B4238E #B49223 #23B44A
square
#2345B4 #B4238E #B49223 #23B44A
split-complementary
#2345B4 #B44A23 #8EB423
monochromatic
#0F1E4E #193181 #2345B4 #3B60D9 #6E8AE3
Accessibility & contrast
On white
8.13
#2345B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2345B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2345B4
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2345B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2345B4 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2345b4; /* rgb */ color: rgb(35, 69, 180); /* oklch */ color: oklch(44.0% 0.180 265.9);
Tailwind
colors: {
custom: {
50: '#7778cb',
500: '#2345b4',
950: '#000000',
},
}SCSS
$custom: #2345b4; $custom-light: #7778cb; $custom-dark: #000000;
JSON
{
"hex": "#2345b4",
"rgb": {
"r": 35,
"g": 69,
"b": 180
},
"hsl": {
"h": 225.931,
"s": 67.442,
"l": 42.157
},
"oklch": {
"l": 0.44037,
"c": 0.18024,
"h": 265.9
},
"luminance": 0.07909
}Semantic roles & 50–950 ramp
primary
#2345B4
secondary
#C9B369
accent
#C23DEA
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82