#2745AB#2745AB
#2745AB is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.167 H 266.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2745AB |
|---|---|
| RGB | rgb(39, 69, 171) |
| HSL | hsl(226, 63%, 41%) |
| HSV | hsv(226, 77%, 67%) |
| CMYK | cmyk(77.2%, 59.6%, 0%, 32.9%) |
| CIE-LAB | lab(33.19, 26.44, -57.76) |
| CIE-LCH | lch(33.19, 63.53, 294.60°) |
| OKLab | oklab(43.4% -0.0098 -0.1668) |
| OKLCH | oklch(43.4% 0.167 266.6) |
| XYZ | xyz(10.3129, 7.6267, 39.4488) |
| Luminance | 0.0763 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.76
Sapphire (survey)
#2138AB
ΔE00 4.02
Blue Blue
#2242C7
ΔE00 4.03
Cobalt (survey)
#1E488F
ΔE00 5.05
Sapphire
#0F52BA
ΔE00 5.14
Blueberry
#464196
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2745AB #AB8D27
analogous
#2787AB #2745AB #4B27AB
triadic
#2745AB #AB2745 #45AB27
tetradic
#2745AB #AB2787 #AB8D27 #27AB4B
square
#2745AB #AB2787 #AB8D27 #27AB4B
split-complementary
#2745AB #AB4B27 #87AB27
monochromatic
#101D47 #1C3179 #2745AB #3D5FD3 #6E88DE
Accessibility & contrast
On white
8.31
#2745AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2745AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2745AB
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2745AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2745AB | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2745ab; /* rgb */ color: rgb(39, 69, 171); /* oklch */ color: oklch(43.4% 0.167 266.6);
Tailwind
colors: {
custom: {
50: '#7678c5',
500: '#2745ab',
950: '#000000',
},
}SCSS
$custom: #2745ab; $custom-light: #7678c5; $custom-dark: #000000;
JSON
{
"hex": "#2745ab",
"rgb": {
"r": 39,
"g": 69,
"b": 171
},
"hsl": {
"h": 226.364,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.43403,
"c": 0.16714,
"h": 266.6
},
"luminance": 0.07628
}Semantic roles & 50–950 ramp
primary
#2745AB
secondary
#C5B069
accent
#C142E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82