#2745AD#2745AD
#2745AD is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.170 H 266.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2745AD |
|---|---|
| RGB | rgb(39, 69, 173) |
| HSL | hsl(227, 63%, 42%) |
| HSV | hsv(227, 77%, 68%) |
| CMYK | cmyk(77.5%, 60.1%, 0%, 32.2%) |
| CIE-LAB | lab(33.36, 27.20, -58.69) |
| CIE-LCH | lch(33.36, 64.69, 294.87°) |
| OKLab | oklab(43.58% -0.0097 -0.1696) |
| OKLCH | oklch(43.58% 0.17 266.7) |
| XYZ | xyz(10.5050, 7.7035, 40.4603) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.88
Blue Blue
#2242C7
ΔE00 3.75
Sapphire (survey)
#2138AB
ΔE00 3.97
Sapphire
#0F52BA
ΔE00 5.11
Cobalt (survey)
#1E488F
ΔE00 5.31
Blueberry
#464196
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2745AD #AD8F27
analogous
#2788AD #2745AD #4C27AD
triadic
#2745AD #AD2745 #45AD27
tetradic
#2745AD #AD2788 #AD8F27 #27AD4C
square
#2745AD #AD2788 #AD8F27 #27AD4C
split-complementary
#2745AD #AD4C27 #88AD27
monochromatic
#101D49 #1C317B #2745AD #3E5FD3 #7089DF
Accessibility & contrast
On white
8.26
#2745AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2745AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2745AD
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2745AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2745AD | 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)
#0055B0
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2745ad; /* rgb */ color: rgb(39, 69, 173); /* oklch */ color: oklch(43.6% 0.170 266.7);
Tailwind
colors: {
custom: {
50: '#7678c6',
500: '#2745ad',
950: '#000000',
},
}SCSS
$custom: #2745ad; $custom-light: #7678c6; $custom-dark: #000000;
JSON
{
"hex": "#2745ad",
"rgb": {
"r": 39,
"g": 69,
"b": 173
},
"hsl": {
"h": 226.567,
"s": 63.208,
"l": 41.569
},
"oklch": {
"l": 0.43577,
"c": 0.16984,
"h": 266.7
},
"luminance": 0.07705
}Semantic roles & 50–950 ramp
primary
#2745AD
secondary
#C6B16A
accent
#C142E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82