#2745B4#2745B4
#2745B4 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.179 H 266.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2745B4 |
|---|---|
| RGB | rgb(39, 69, 180) |
| HSL | hsl(227, 64%, 43%) |
| HSV | hsv(227, 78%, 71%) |
| CMYK | cmyk(78.3%, 61.7%, 0%, 29.4%) |
| CIE-LAB | lab(33.94, 29.85, -61.89) |
| CIE-LCH | lch(33.94, 68.71, 295.75°) |
| OKLab | oklab(44.2% -0.0097 -0.1789) |
| OKLCH | oklch(44.2% 0.179 266.9) |
| XYZ | xyz(11.2002, 7.9816, 44.1215) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.77
Cobalt
#0047AB
ΔE00 3.42
Sapphire (survey)
#2138AB
ΔE00 3.97
Sapphire
#0F52BA
ΔE00 5.12
Blue (survey)
#0343DF
ΔE00 5.35
Ocean Blue
#4F42B5
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2745B4 #B49627
analogous
#278BB4 #2745B4 #4F27B4
triadic
#2745B4 #B42745 #45B427
tetradic
#2745B4 #B4278B #B49627 #27B44F
square
#2745B4 #B4278B #B49627 #27B44F
split-complementary
#2745B4 #B44F27 #8BB427
monochromatic
#111E4F #1C3282 #2745B4 #4262D6 #748CE1
Accessibility & contrast
On white
8.09
#2745B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2745B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2745B4
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2745B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2745B4 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2745b4; /* rgb */ color: rgb(39, 69, 180); /* oklch */ color: oklch(44.2% 0.179 266.9);
Tailwind
colors: {
custom: {
50: '#7878cb',
500: '#2745b4',
950: '#000000',
},
}SCSS
$custom: #2745b4; $custom-light: #7878cb; $custom-dark: #000000;
JSON
{
"hex": "#2745b4",
"rgb": {
"r": 39,
"g": 69,
"b": 180
},
"hsl": {
"h": 227.234,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.44195,
"c": 0.17921,
"h": 266.9
},
"luminance": 0.07983
}Semantic roles & 50–950 ramp
primary
#2745B4
secondary
#C8B56F
accent
#C440E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82