#2245B2#2245B2
#2245B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.178 H 265.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2245B2 |
|---|---|
| RGB | rgb(34, 69, 178) |
| HSL | hsl(225, 68%, 42%) |
| HSV | hsv(225, 81%, 70%) |
| CMYK | cmyk(80.9%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(33.58, 28.61, -61.30) |
| CIE-LCH | lch(33.58, 67.65, 295.02°) |
| OKLab | oklab(43.82% -0.0136 -0.1773) |
| OKLCH | oklch(43.82% 0.178 265.6) |
| XYZ | xyz(10.8209, 7.8094, 43.0479) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.83
Blue Blue
#2242C7
ΔE00 3.20
Sapphire (survey)
#2138AB
ΔE00 4.04
Sapphire
#0F52BA
ΔE00 4.86
Cobalt (survey)
#1E488F
ΔE00 5.70
Blue (survey)
#0343DF
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2245B2 #B28F22
analogous
#228DB2 #2245B2 #4722B2
triadic
#2245B2 #B22245 #45B222
tetradic
#2245B2 #B2228D #B28F22 #22B247
square
#2245B2 #B2228D #B28F22 #22B247
split-complementary
#2245B2 #B24722 #8DB222
monochromatic
#0E1D4B #18317F #2245B2 #385FD9 #6C89E3
Accessibility & contrast
On white
8.20
#2245B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2245B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2245B2
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2245B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2245B2 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2245b2; /* rgb */ color: rgb(34, 69, 178); /* oklch */ color: oklch(43.8% 0.178 265.6);
Tailwind
colors: {
custom: {
50: '#7678ca',
500: '#2245b2',
950: '#000000',
},
}SCSS
$custom: #2245b2; $custom-light: #7678ca; $custom-dark: #000000;
JSON
{
"hex": "#2245b2",
"rgb": {
"r": 34,
"g": 69,
"b": 178
},
"hsl": {
"h": 225.417,
"s": 67.925,
"l": 41.569
},
"oklch": {
"l": 0.4382,
"c": 0.17784,
"h": 265.6
},
"luminance": 0.07811
}Semantic roles & 50–950 ramp
primary
#2245B2
secondary
#C9B167
accent
#C13DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82