#2245A2#2245A2
#2245A2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.156 H 264.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2245A2 |
|---|---|
| RGB | rgb(34, 69, 162) |
| HSL | hsl(224, 65%, 38%) |
| HSV | hsv(224, 79%, 64%) |
| CMYK | cmyk(79%, 57.4%, 0%, 36.5%) |
| CIE-LAB | lab(32.27, 22.41, -53.88) |
| CIE-LCH | lch(32.27, 58.36, 292.59°) |
| OKLab | oklab(42.43% -0.0142 -0.1555) |
| OKLCH | oklch(42.43% 0.156 264.8) |
| XYZ | xyz(9.3071, 7.2039, 35.0754) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.15
Cobalt (survey)
#1E488F
ΔE00 3.55
Sapphire (survey)
#2138AB
ΔE00 4.73
Sapphire
#0F52BA
ΔE00 5.23
Blue Blue
#2242C7
ΔE00 5.51
Darkish Blue
#014182
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2245A2 #A27F22
analogous
#2285A2 #2245A2 #3F22A2
triadic
#2245A2 #A22245 #45A222
tetradic
#2245A2 #A22285 #A27F22 #22A23F
square
#2245A2 #A22285 #A27F22 #22A23F
split-complementary
#2245A2 #A23F22 #85A222
monochromatic
#0D1A3D #172F6F #2245A2 #2E5BD3 #6183DE
Accessibility & contrast
On white
8.60
#2245A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2245A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2245A2
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2245A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2245A2 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2245a2; /* rgb */ color: rgb(34, 69, 162); /* oklch */ color: oklch(42.4% 0.156 264.8);
Tailwind
colors: {
custom: {
50: '#7278be',
500: '#2245a2',
950: '#000000',
},
}SCSS
$custom: #2245a2; $custom-light: #7278be; $custom-dark: #000000;
JSON
{
"hex": "#2245a2",
"rgb": {
"r": 34,
"g": 69,
"b": 162
},
"hsl": {
"h": 223.594,
"s": 65.306,
"l": 38.431
},
"oklch": {
"l": 0.42426,
"c": 0.15618,
"h": 264.8
},
"luminance": 0.07205
}Semantic roles & 50–950 ramp
primary
#2245A2
secondary
#C3A75D
accent
#BA40E8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81