#2245B3#2245B3
#2245B3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.179 H 265.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2245B3 |
|---|---|
| RGB | rgb(34, 69, 179) |
| HSL | hsl(226, 68%, 42%) |
| HSV | hsv(226, 81%, 70%) |
| CMYK | cmyk(81%, 61.5%, 0%, 29.8%) |
| CIE-LAB | lab(33.67, 29.00, -61.76) |
| CIE-LCH | lch(33.67, 68.22, 295.15°) |
| OKLab | oklab(43.91% -0.0136 -0.1786) |
| OKLCH | oklch(43.91% 0.179 265.6) |
| XYZ | xyz(10.9216, 7.8497, 43.5786) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.92
Blue Blue
#2242C7
ΔE00 3.07
Sapphire (survey)
#2138AB
ΔE00 4.04
Sapphire
#0F52BA
ΔE00 4.87
Blue (survey)
#0343DF
ΔE00 5.57
Cobalt (survey)
#1E488F
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2245B3 #B39022
analogous
#228EB3 #2245B3 #4722B3
triadic
#2245B3 #B32245 #45B322
tetradic
#2245B3 #B3228E #B39022 #22B347
square
#2245B3 #B3228E #B39022 #22B347
split-complementary
#2245B3 #B34722 #8EB322
monochromatic
#0E1D4C #183180 #2245B3 #3960D9 #6C89E3
Accessibility & contrast
On white
8.17
#2245B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2245B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2245B3
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2245B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2245B3 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2245b3; /* rgb */ color: rgb(34, 69, 179); /* oklch */ color: oklch(43.9% 0.179 265.6);
Tailwind
colors: {
custom: {
50: '#7678cb',
500: '#2245b3',
950: '#000000',
},
}SCSS
$custom: #2245b3; $custom-light: #7678cb; $custom-dark: #000000;
JSON
{
"hex": "#2245b3",
"rgb": {
"r": 34,
"g": 69,
"b": 179
},
"hsl": {
"h": 225.517,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.4391,
"c": 0.17917,
"h": 265.6
},
"luminance": 0.07851
}Semantic roles & 50–950 ramp
primary
#2245B3
secondary
#C9B268
accent
#C13DEB
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82