#2745A1#2745A1
#2745A1 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.153 H 266.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2745A1 |
|---|---|
| RGB | rgb(39, 69, 161) |
| HSL | hsl(225, 61%, 39%) |
| HSV | hsv(225, 76%, 63%) |
| CMYK | cmyk(75.8%, 57.1%, 0%, 36.9%) |
| CIE-LAB | lab(32.39, 22.61, -53.07) |
| CIE-LCH | lch(32.39, 57.68, 293.07°) |
| OKLab | oklab(42.55% -0.0101 -0.1531) |
| OKLCH | oklch(42.55% 0.153 266.2) |
| XYZ | xyz(9.3956, 7.2598, 34.6174) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.64
Cobalt (survey)
#1E488F
ΔE00 3.77
Sapphire (survey)
#2138AB
ΔE00 4.61
Blue Blue
#2242C7
ΔE00 5.49
Sapphire
#0F52BA
ΔE00 5.49
Blueberry
#464196
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2745A1 #A18327
analogous
#2782A1 #2745A1 #4627A1
triadic
#2745A1 #A12745 #45A127
tetradic
#2745A1 #A12782 #A18327 #27A146
square
#2745A1 #A12782 #A18327 #27A146
split-complementary
#2745A1 #A14627 #82A127
monochromatic
#0F1B3E #1B3070 #2745A1 #375CCE #6884DA
Accessibility & contrast
On white
8.56
#2745A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2745A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2745A1
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2745A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2745A1 | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2745a1; /* rgb */ color: rgb(39, 69, 161); /* oklch */ color: oklch(42.6% 0.153 266.2);
Tailwind
colors: {
custom: {
50: '#7378be',
500: '#2745a1',
950: '#000000',
},
}SCSS
$custom: #2745a1; $custom-light: #7378be; $custom-dark: #000000;
JSON
{
"hex": "#2745a1",
"rgb": {
"r": 39,
"g": 69,
"b": 161
},
"hsl": {
"h": 225.246,
"s": 61,
"l": 39.216
},
"oklch": {
"l": 0.42551,
"c": 0.1534,
"h": 266.2
},
"luminance": 0.07261
}Semantic roles & 50–950 ramp
primary
#2745A1
secondary
#C0AA63
accent
#BD44E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81