#2745AE#2745AE
#2745AE is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.171 H 266.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2745AE |
|---|---|
| RGB | rgb(39, 69, 174) |
| HSL | hsl(227, 63%, 42%) |
| HSV | hsv(227, 78%, 68%) |
| CMYK | cmyk(77.6%, 60.3%, 0%, 31.8%) |
| CIE-LAB | lab(33.44, 27.58, -59.15) |
| CIE-LCH | lch(33.44, 65.26, 295.00°) |
| OKLab | oklab(43.66% -0.0097 -0.1709) |
| OKLCH | oklch(43.66% 0.171 266.7) |
| XYZ | xyz(10.6021, 7.7424, 40.9719) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.94
Blue Blue
#2242C7
ΔE00 3.60
Sapphire (survey)
#2138AB
ΔE00 3.95
Sapphire
#0F52BA
ΔE00 5.10
Cobalt (survey)
#1E488F
ΔE00 5.44
Blueberry
#464196
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2745AE #AE9027
analogous
#2789AE #2745AE #4D27AE
triadic
#2745AE #AE2745 #45AE27
tetradic
#2745AE #AE2789 #AE9027 #27AE4D
square
#2745AE #AE2789 #AE9027 #27AE4D
split-complementary
#2745AE #AE4D27 #89AE27
monochromatic
#111D4A #1C317C #2745AE #3E60D4 #7089DF
Accessibility & contrast
On white
8.24
#2745AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2745AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2745AE
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2745AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2745AE | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2745ae; /* rgb */ color: rgb(39, 69, 174); /* oklch */ color: oklch(43.7% 0.171 266.7);
Tailwind
colors: {
custom: {
50: '#7778c7',
500: '#2745ae',
950: '#000000',
},
}SCSS
$custom: #2745ae; $custom-light: #7778c7; $custom-dark: #000000;
JSON
{
"hex": "#2745ae",
"rgb": {
"r": 39,
"g": 69,
"b": 174
},
"hsl": {
"h": 226.667,
"s": 63.38,
"l": 41.765
},
"oklch": {
"l": 0.43664,
"c": 0.17119,
"h": 266.7
},
"luminance": 0.07744
}Semantic roles & 50–950 ramp
primary
#2745AE
secondary
#C6B26B
accent
#C241E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82