#2245A1#2245A1
#2245A1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.155 H 264.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2245A1 |
|---|---|
| RGB | rgb(34, 69, 161) |
| HSL | hsl(223, 65%, 38%) |
| HSV | hsv(223, 79%, 63%) |
| CMYK | cmyk(78.9%, 57.1%, 0%, 36.9%) |
| CIE-LAB | lab(32.19, 22.02, -53.41) |
| CIE-LCH | lch(32.19, 57.77, 292.41°) |
| OKLab | oklab(42.34% -0.0142 -0.1541) |
| OKLCH | oklch(42.34% 0.155 264.7) |
| XYZ | xyz(9.2186, 7.1685, 34.6091) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.19
Cobalt (survey)
#1E488F
ΔE00 3.42
Sapphire (survey)
#2138AB
ΔE00 4.82
Sapphire
#0F52BA
ΔE00 5.29
Darkish Blue
#014182
ΔE00 5.65
Blue Blue
#2242C7
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2245A1 #A17E22
analogous
#2284A1 #2245A1 #3F22A1
triadic
#2245A1 #A12245 #45A122
tetradic
#2245A1 #A12284 #A17E22 #22A13F
square
#2245A1 #A12284 #A17E22 #22A13F
split-complementary
#2245A1 #A13F22 #84A122
monochromatic
#0D1A3C #172F6E #2245A1 #2D5BD3 #6083DD
Accessibility & contrast
On white
8.63
#2245A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2245A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2245A1
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2245A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2245A1 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2245a1; /* rgb */ color: rgb(34, 69, 161); /* oklch */ color: oklch(42.3% 0.155 264.7);
Tailwind
colors: {
custom: {
50: '#7278be',
500: '#2245a1',
950: '#000000',
},
}SCSS
$custom: #2245a1; $custom-light: #7278be; $custom-dark: #000000;
JSON
{
"hex": "#2245a1",
"rgb": {
"r": 34,
"g": 69,
"b": 161
},
"hsl": {
"h": 223.465,
"s": 65.128,
"l": 38.235
},
"oklch": {
"l": 0.42341,
"c": 0.15481,
"h": 264.7
},
"luminance": 0.0717
}Semantic roles & 50–950 ramp
primary
#2245A1
secondary
#C2A65D
accent
#BA40E8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81