#2745B2#2745B2
#2745B2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.177 H 266.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2745B2 |
|---|---|
| RGB | rgb(39, 69, 178) |
| HSL | hsl(227, 64%, 43%) |
| HSV | hsv(227, 78%, 70%) |
| CMYK | cmyk(78.1%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(33.78, 29.10, -60.98) |
| CIE-LCH | lch(33.78, 67.57, 295.51°) |
| OKLab | oklab(44.02% -0.0097 -0.1763) |
| OKLCH | oklch(44.02% 0.177 266.9) |
| XYZ | xyz(10.9979, 7.9007, 43.0562) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.04
Cobalt
#0047AB
ΔE00 3.24
Sapphire (survey)
#2138AB
ΔE00 3.94
Sapphire
#0F52BA
ΔE00 5.10
Blue (survey)
#0343DF
ΔE00 5.63
Ocean Blue
#4F42B5
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2745B2 #B29427
analogous
#278BB2 #2745B2 #4E27B2
triadic
#2745B2 #B22745 #45B227
tetradic
#2745B2 #B2278B #B29427 #27B24E
square
#2745B2 #B2278B #B29427 #27B24E
split-complementary
#2745B2 #B24E27 #8BB227
monochromatic
#111E4E #1C3280 #2745B2 #4161D5 #738BE0
Accessibility & contrast
On white
8.14
#2745B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2745B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2745B2
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2745B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2745B2 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2745b2; /* rgb */ color: rgb(39, 69, 178); /* oklch */ color: oklch(44.0% 0.177 266.9);
Tailwind
colors: {
custom: {
50: '#7878ca',
500: '#2745b2',
950: '#000000',
},
}SCSS
$custom: #2745b2; $custom-light: #7878ca; $custom-dark: #000000;
JSON
{
"hex": "#2745b2",
"rgb": {
"r": 39,
"g": 69,
"b": 178
},
"hsl": {
"h": 227.05,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.44017,
"c": 0.17655,
"h": 266.9
},
"luminance": 0.07902
}Semantic roles & 50–950 ramp
primary
#2745B2
secondary
#C8B46D
accent
#C341E7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82