#2145B3#2145B3
#2145B3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.179 H 265.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2145B3 |
|---|---|
| RGB | rgb(33, 69, 179) |
| HSL | hsl(225, 69%, 42%) |
| HSV | hsv(225, 82%, 70%) |
| CMYK | cmyk(81.6%, 61.5%, 0%, 29.8%) |
| CIE-LAB | lab(33.63, 28.91, -61.82) |
| CIE-LCH | lch(33.63, 68.24, 295.06°) |
| OKLab | oklab(43.87% -0.0143 -0.1788) |
| OKLCH | oklch(43.87% 0.179 265.4) |
| XYZ | xyz(10.8891, 7.8329, 43.5771) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.85
Blue Blue
#2242C7
ΔE00 3.10
Sapphire (survey)
#2138AB
ΔE00 4.07
Sapphire
#0F52BA
ΔE00 4.83
Blue (survey)
#0343DF
ΔE00 5.59
Cobalt (survey)
#1E488F
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2145B3 #B38F21
analogous
#218EB3 #2145B3 #4621B3
triadic
#2145B3 #B32145 #45B321
tetradic
#2145B3 #B3218E #B38F21 #21B346
square
#2145B3 #B3218E #B38F21 #21B346
split-complementary
#2145B3 #B34621 #8EB321
monochromatic
#0E1D4C #17317F #2145B3 #375FDA #6B89E4
Accessibility & contrast
On white
8.18
#2145B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2145B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2145B3
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2145B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2145B3 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2145b3; /* rgb */ color: rgb(33, 69, 179); /* oklch */ color: oklch(43.9% 0.179 265.4);
Tailwind
colors: {
custom: {
50: '#7678cb',
500: '#2145b3',
950: '#000000',
},
}SCSS
$custom: #2145b3; $custom-light: #7678cb; $custom-dark: #000000;
JSON
{
"hex": "#2145b3",
"rgb": {
"r": 33,
"g": 69,
"b": 179
},
"hsl": {
"h": 225.205,
"s": 68.868,
"l": 41.569
},
"oklch": {
"l": 0.43874,
"c": 0.17941,
"h": 265.4
},
"luminance": 0.07834
}Semantic roles & 50–950 ramp
primary
#2145B3
secondary
#CAB166
accent
#C03CEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82