#2745B1#2745B1
#2745B1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.175 H 266.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2745B1 |
|---|---|
| RGB | rgb(39, 69, 177) |
| HSL | hsl(227, 64%, 42%) |
| HSV | hsv(227, 78%, 69%) |
| CMYK | cmyk(78%, 61%, 0%, 30.6%) |
| CIE-LAB | lab(33.69, 28.72, -60.52) |
| CIE-LCH | lch(33.69, 66.99, 295.39°) |
| OKLab | oklab(43.93% -0.0097 -0.1749) |
| OKLCH | oklch(43.93% 0.175 266.8) |
| XYZ | xyz(10.8979, 7.8607, 42.5294) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.16
Blue Blue
#2242C7
ΔE00 3.18
Sapphire (survey)
#2138AB
ΔE00 3.93
Sapphire
#0F52BA
ΔE00 5.10
Blue (survey)
#0343DF
ΔE00 5.77
Ocean Blue
#4F42B5
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2745B1 #B19327
analogous
#278AB1 #2745B1 #4E27B1
triadic
#2745B1 #B12745 #45B127
tetradic
#2745B1 #B1278A #B19327 #27B14E
square
#2745B1 #B1278A #B19327 #27B14E
split-complementary
#2745B1 #B14E27 #8AB127
monochromatic
#111E4D #1C317F #2745B1 #4061D5 #728AE0
Accessibility & contrast
On white
8.16
#2745B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2745B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2745B1
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2745B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2745B1 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2745b1; /* rgb */ color: rgb(39, 69, 177); /* oklch */ color: oklch(43.9% 0.175 266.8);
Tailwind
colors: {
custom: {
50: '#7778c9',
500: '#2745b1',
950: '#000000',
},
}SCSS
$custom: #2745b1; $custom-light: #7778c9; $custom-dark: #000000;
JSON
{
"hex": "#2745b1",
"rgb": {
"r": 39,
"g": 69,
"b": 177
},
"hsl": {
"h": 226.957,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.43929,
"c": 0.17522,
"h": 266.8
},
"luminance": 0.07862
}Semantic roles & 50–950 ramp
primary
#2745B1
secondary
#C7B36D
accent
#C341E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82