#2745A3#2745A3
#2745A3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.156 H 266.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2745A3 |
|---|---|
| RGB | rgb(39, 69, 163) |
| HSL | hsl(225, 61%, 40%) |
| HSV | hsv(225, 76%, 64%) |
| CMYK | cmyk(76.1%, 57.7%, 0%, 36.1%) |
| CIE-LAB | lab(32.55, 23.38, -54.02) |
| CIE-LCH | lch(32.55, 58.86, 293.40°) |
| OKLab | oklab(42.72% -0.01 -0.1558) |
| OKLCH | oklch(42.72% 0.156 266.3) |
| XYZ | xyz(9.5734, 7.3309, 35.5537) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.60
Cobalt (survey)
#1E488F
ΔE00 4.02
Sapphire (survey)
#2138AB
ΔE00 4.45
Blue Blue
#2242C7
ΔE00 5.20
Sapphire
#0F52BA
ΔE00 5.39
Blueberry
#464196
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2745A3 #A38527
analogous
#2783A3 #2745A3 #4727A3
triadic
#2745A3 #A32745 #45A327
tetradic
#2745A3 #A32783 #A38527 #27A347
square
#2745A3 #A32783 #A38527 #27A347
split-complementary
#2745A3 #A34727 #83A327
monochromatic
#0F1B40 #1B3072 #2745A3 #385DCF #6985DB
Accessibility & contrast
On white
8.51
#2745A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2745A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2745A3
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2745A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2745A3 | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2745a3; /* rgb */ color: rgb(39, 69, 163); /* oklch */ color: oklch(42.7% 0.156 266.3);
Tailwind
colors: {
custom: {
50: '#7478bf',
500: '#2745a3',
950: '#000000',
},
}SCSS
$custom: #2745a3; $custom-light: #7478bf; $custom-dark: #000000;
JSON
{
"hex": "#2745a3",
"rgb": {
"r": 39,
"g": 69,
"b": 163
},
"hsl": {
"h": 225.484,
"s": 61.386,
"l": 39.608
},
"oklch": {
"l": 0.42719,
"c": 0.15617,
"h": 266.3
},
"luminance": 0.07332
}Semantic roles & 50–950 ramp
primary
#2745A3
secondary
#C1AB64
accent
#BD43E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81