#2245A7#2245A7
#2245A7 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.163 H 265.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2245A7 |
|---|---|
| RGB | rgb(34, 69, 167) |
| HSL | hsl(224, 66%, 39%) |
| HSV | hsv(224, 80%, 65%) |
| CMYK | cmyk(79.6%, 58.7%, 0%, 34.5%) |
| CIE-LAB | lab(32.67, 24.37, -56.23) |
| CIE-LCH | lch(32.67, 61.29, 293.43°) |
| OKLab | oklab(42.85% -0.0139 -0.1624) |
| OKLCH | oklch(42.85% 0.163 265.1) |
| XYZ | xyz(9.7604, 7.3852, 37.4628) |
| Luminance | 0.0739 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.14
Cobalt (survey)
#1E488F
ΔE00 4.22
Sapphire (survey)
#2138AB
ΔE00 4.38
Blue Blue
#2242C7
ΔE00 4.78
Sapphire
#0F52BA
ΔE00 5.02
Blueberry
#464196
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2245A7 #A78422
analogous
#2287A7 #2245A7 #4222A7
triadic
#2245A7 #A72245 #45A722
tetradic
#2245A7 #A72287 #A78422 #22A742
square
#2245A7 #A72287 #A78422 #22A742
split-complementary
#2245A7 #A74222 #87A722
monochromatic
#0D1B41 #183074 #2245A7 #315CD5 #6484DF
Accessibility & contrast
On white
8.48
#2245A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2245A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2245A7
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2245A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2245A7 | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2245a7; /* rgb */ color: rgb(34, 69, 167); /* oklch */ color: oklch(42.9% 0.163 265.1);
Tailwind
colors: {
custom: {
50: '#7378c2',
500: '#2245a7',
950: '#000000',
},
}SCSS
$custom: #2245a7; $custom-light: #7378c2; $custom-dark: #000000;
JSON
{
"hex": "#2245a7",
"rgb": {
"r": 34,
"g": 69,
"b": 167
},
"hsl": {
"h": 224.211,
"s": 66.169,
"l": 39.412
},
"oklch": {
"l": 0.42853,
"c": 0.16305,
"h": 265.1
},
"luminance": 0.07386
}Semantic roles & 50–950 ramp
primary
#2245A7
secondary
#C5AA60
accent
#BC3FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81