#1945B3#1945B3
#1945B3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.181 H 263.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1945B3 |
|---|---|
| RGB | rgb(25, 69, 179) |
| HSL | hsl(223, 75%, 40%) |
| HSV | hsv(223, 86%, 70%) |
| CMYK | cmyk(86%, 61.5%, 0%, 29.8%) |
| CIE-LAB | lab(33.38, 28.28, -62.23) |
| CIE-LCH | lch(33.38, 68.36, 294.44°) |
| OKLab | oklab(43.62% -0.0196 -0.1802) |
| OKLCH | oklch(43.62% 0.181 263.8) |
| XYZ | xyz(10.6628, 7.7162, 43.5665) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.34
Blue Blue
#2242C7
ΔE00 3.41
Sapphire (survey)
#2138AB
ΔE00 4.27
Sapphire
#0F52BA
ΔE00 4.57
Cobalt (survey)
#1E488F
ΔE00 5.49
Blue (survey)
#0343DF
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1945B3 #B38719
analogous
#1992B3 #1945B3 #3A19B3
triadic
#1945B3 #B31945 #45B319
tetradic
#1945B3 #B31992 #B38719 #19B33A
square
#1945B3 #B31992 #B38719 #19B33A
split-complementary
#1945B3 #B33A19 #92B319
monochromatic
#0A1C48 #12307D #1945B3 #285DE1 #5E86E8
Accessibility & contrast
On white
8.26
#1945B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#1945B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1945B3
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1945B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1945B3 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1945b3; /* rgb */ color: rgb(25, 69, 179); /* oklch */ color: oklch(43.6% 0.181 263.8);
Tailwind
colors: {
custom: {
50: '#7478cb',
500: '#1945b3',
950: '#000000',
},
}SCSS
$custom: #1945b3; $custom-light: #7478cb; $custom-dark: #000000;
JSON
{
"hex": "#1945b3",
"rgb": {
"r": 25,
"g": 69,
"b": 179
},
"hsl": {
"h": 222.857,
"s": 75.49,
"l": 40
},
"oklch": {
"l": 0.43619,
"c": 0.18123,
"h": 263.8
},
"luminance": 0.07718
}Semantic roles & 50–950 ramp
primary
#1945B3
secondary
#CCAC5B
accent
#BC36F2
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82