#2145A6#2145A6
#2145A6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.162 H 264.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2145A6 |
|---|---|
| RGB | rgb(33, 69, 166) |
| HSL | hsl(224, 67%, 39%) |
| HSV | hsv(224, 80%, 65%) |
| CMYK | cmyk(80.1%, 58.4%, 0%, 34.9%) |
| CIE-LAB | lab(32.55, 23.87, -55.83) |
| CIE-LCH | lch(32.55, 60.72, 293.15°) |
| OKLab | oklab(42.73% -0.0147 -0.1613) |
| OKLCH | oklch(42.73% 0.162 264.8) |
| XYZ | xyz(9.6358, 7.3316, 36.9763) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.03
Cobalt (survey)
#1E488F
ΔE00 4.04
Sapphire (survey)
#2138AB
ΔE00 4.48
Blue Blue
#2242C7
ΔE00 4.96
Sapphire
#0F52BA
ΔE00 5.02
Darkish Blue
#014182
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2145A6 #A68221
analogous
#2188A6 #2145A6 #3F21A6
triadic
#2145A6 #A62145 #45A621
tetradic
#2145A6 #A62188 #A68221 #21A63F
square
#2145A6 #A62188 #A68221 #21A63F
split-complementary
#2145A6 #A63F21 #88A621
monochromatic
#0D1B40 #173073 #2145A6 #2F5CD6 #6284E0
Accessibility & contrast
On white
8.51
#2145A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2145A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2145A6
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2145A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2145A6 | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2145a6; /* rgb */ color: rgb(33, 69, 166); /* oklch */ color: oklch(42.7% 0.162 264.8);
Tailwind
colors: {
custom: {
50: '#7378c1',
500: '#2145a6',
950: '#000000',
},
}SCSS
$custom: #2145a6; $custom-light: #7378c1; $custom-dark: #000000;
JSON
{
"hex": "#2145a6",
"rgb": {
"r": 33,
"g": 69,
"b": 166
},
"hsl": {
"h": 223.759,
"s": 66.834,
"l": 39.02
},
"oklch": {
"l": 0.42729,
"c": 0.16194,
"h": 264.8
},
"luminance": 0.07333
}Semantic roles & 50–950 ramp
primary
#2145A6
secondary
#C5A95E
accent
#BB3EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81