#2345B2#2345B2
#2345B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.178 H 265.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2345B2 |
|---|---|
| RGB | rgb(35, 69, 178) |
| HSL | hsl(226, 67%, 42%) |
| HSV | hsv(226, 80%, 70%) |
| CMYK | cmyk(80.3%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(33.62, 28.71, -61.24) |
| CIE-LCH | lch(33.62, 67.63, 295.11°) |
| OKLab | oklab(43.86% -0.0129 -0.1771) |
| OKLCH | oklch(43.86% 0.178 265.8) |
| XYZ | xyz(10.8543, 7.8266, 43.0495) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.91
Blue Blue
#2242C7
ΔE00 3.17
Sapphire (survey)
#2138AB
ΔE00 4.02
Sapphire
#0F52BA
ΔE00 4.91
Blue (survey)
#0343DF
ΔE00 5.69
Cobalt (survey)
#1E488F
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2345B2 #B29023
analogous
#238DB2 #2345B2 #4823B2
triadic
#2345B2 #B22345 #45B223
tetradic
#2345B2 #B2238D #B29023 #23B248
square
#2345B2 #B2238D #B29023 #23B248
split-complementary
#2345B2 #B24823 #8DB223
monochromatic
#0F1D4C #19317F #2345B2 #3A60D8 #6D89E2
Accessibility & contrast
On white
8.19
#2345B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2345B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2345B2
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2345B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2345B2 | 1.00 | 8.19 | 2.57 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2345b2; /* rgb */ color: rgb(35, 69, 178); /* oklch */ color: oklch(43.9% 0.178 265.8);
Tailwind
colors: {
custom: {
50: '#7678ca',
500: '#2345b2',
950: '#000000',
},
}SCSS
$custom: #2345b2; $custom-light: #7678ca; $custom-dark: #000000;
JSON
{
"hex": "#2345b2",
"rgb": {
"r": 35,
"g": 69,
"b": 178
},
"hsl": {
"h": 225.734,
"s": 67.136,
"l": 41.765
},
"oklch": {
"l": 0.43858,
"c": 0.17759,
"h": 265.8
},
"luminance": 0.07828
}Semantic roles & 50–950 ramp
primary
#2345B2
secondary
#C9B268
accent
#C13EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82