#2745AC#2745AC
#2745AC is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.168 H 266.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2745AC |
|---|---|
| RGB | rgb(39, 69, 172) |
| HSL | hsl(226, 63%, 41%) |
| HSV | hsv(226, 77%, 67%) |
| CMYK | cmyk(77.3%, 59.9%, 0%, 32.5%) |
| CIE-LAB | lab(33.28, 26.82, -58.23) |
| CIE-LCH | lch(33.28, 64.11, 294.73°) |
| OKLab | oklab(43.49% -0.0097 -0.1682) |
| OKLCH | oklch(43.49% 0.168 266.7) |
| XYZ | xyz(10.4086, 7.6650, 39.9526) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.82
Blue Blue
#2242C7
ΔE00 3.89
Sapphire (survey)
#2138AB
ΔE00 3.99
Sapphire
#0F52BA
ΔE00 5.12
Cobalt (survey)
#1E488F
ΔE00 5.18
Blueberry
#464196
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2745AC #AC8E27
analogous
#2788AC #2745AC #4C27AC
triadic
#2745AC #AC2745 #45AC27
tetradic
#2745AC #AC2788 #AC8E27 #27AC4C
square
#2745AC #AC2788 #AC8E27 #27AC4C
split-complementary
#2745AC #AC4C27 #88AC27
monochromatic
#101D48 #1C317A #2745AC #3D5FD3 #6F88DE
Accessibility & contrast
On white
8.29
#2745AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2745AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2745AC
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2745AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2745AC | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2745ac; /* rgb */ color: rgb(39, 69, 172); /* oklch */ color: oklch(43.5% 0.168 266.7);
Tailwind
colors: {
custom: {
50: '#7678c6',
500: '#2745ac',
950: '#000000',
},
}SCSS
$custom: #2745ac; $custom-light: #7678c6; $custom-dark: #000000;
JSON
{
"hex": "#2745ac",
"rgb": {
"r": 39,
"g": 69,
"b": 172
},
"hsl": {
"h": 226.466,
"s": 63.033,
"l": 41.373
},
"oklch": {
"l": 0.4349,
"c": 0.16849,
"h": 266.7
},
"luminance": 0.07666
}Semantic roles & 50–950 ramp
primary
#2745AC
secondary
#C5B06A
accent
#C142E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82