#2745A2#2745A2
#2745A2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.155 H 266.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2745A2 |
|---|---|
| RGB | rgb(39, 69, 162) |
| HSL | hsl(225, 61%, 39%) |
| HSV | hsv(225, 76%, 64%) |
| CMYK | cmyk(75.9%, 57.4%, 0%, 36.5%) |
| CIE-LAB | lab(32.47, 22.99, -53.54) |
| CIE-LCH | lch(32.47, 58.27, 293.24°) |
| OKLab | oklab(42.64% -0.0101 -0.1545) |
| OKLCH | oklch(42.64% 0.155 266.3) |
| XYZ | xyz(9.4841, 7.2952, 35.0837) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.61
Cobalt (survey)
#1E488F
ΔE00 3.90
Sapphire (survey)
#2138AB
ΔE00 4.53
Blue Blue
#2242C7
ΔE00 5.34
Sapphire
#0F52BA
ΔE00 5.44
Blueberry
#464196
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2745A2 #A28427
analogous
#2783A2 #2745A2 #4727A2
triadic
#2745A2 #A22745 #45A227
tetradic
#2745A2 #A22783 #A28427 #27A247
square
#2745A2 #A22783 #A28427 #27A247
split-complementary
#2745A2 #A24727 #83A227
monochromatic
#0F1B3F #1B3071 #2745A2 #375CCF #6984DB
Accessibility & contrast
On white
8.54
#2745A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2745A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2745A2
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2745A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2745A2 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2745a2; /* rgb */ color: rgb(39, 69, 162); /* oklch */ color: oklch(42.6% 0.155 266.3);
Tailwind
colors: {
custom: {
50: '#7478be',
500: '#2745a2',
950: '#000000',
},
}SCSS
$custom: #2745a2; $custom-light: #7478be; $custom-dark: #000000;
JSON
{
"hex": "#2745a2",
"rgb": {
"r": 39,
"g": 69,
"b": 162
},
"hsl": {
"h": 225.366,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.42635,
"c": 0.15479,
"h": 266.3
},
"luminance": 0.07296
}Semantic roles & 50–950 ramp
primary
#2745A2
secondary
#C1AA64
accent
#BD43E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81