#2745B6#2745B6
#2745B6 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.182 H 266.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2745B6 |
|---|---|
| RGB | rgb(39, 69, 182) |
| HSL | hsl(227, 65%, 43%) |
| HSV | hsv(227, 79%, 71%) |
| CMYK | cmyk(78.6%, 62.1%, 0%, 28.6%) |
| CIE-LAB | lab(34.12, 30.61, -62.79) |
| CIE-LCH | lch(34.12, 69.85, 295.99°) |
| OKLab | oklab(44.38% -0.0097 -0.1816) |
| OKLCH | oklch(44.38% 0.182 266.9) |
| XYZ | xyz(11.4054, 8.0637, 45.2022) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.50
Cobalt
#0047AB
ΔE00 3.61
Sapphire (survey)
#2138AB
ΔE00 4.02
Blue (survey)
#0343DF
ΔE00 5.08
Sapphire
#0F52BA
ΔE00 5.15
Ocean Blue
#4F42B5
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2745B6 #B69827
analogous
#278CB6 #2745B6 #5127B6
triadic
#2745B6 #B62745 #45B627
tetradic
#2745B6 #B6278C #B69827 #27B651
square
#2745B6 #B6278C #B69827 #27B651
split-complementary
#2745B6 #B65127 #8CB627
monochromatic
#111F51 #1C3284 #2745B6 #4362D7 #768CE2
Accessibility & contrast
On white
8.04
#2745B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2745B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2745B6
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2745B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2745B6 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2745b6; /* rgb */ color: rgb(39, 69, 182); /* oklch */ color: oklch(44.4% 0.182 266.9);
Tailwind
colors: {
custom: {
50: '#7978cd',
500: '#2745b6',
950: '#000000',
},
}SCSS
$custom: #2745b6; $custom-light: #7978cd; $custom-dark: #000000;
JSON
{
"hex": "#2745b6",
"rgb": {
"r": 39,
"g": 69,
"b": 182
},
"hsl": {
"h": 227.413,
"s": 64.706,
"l": 43.333
},
"oklch": {
"l": 0.44375,
"c": 0.18186,
"h": 266.9
},
"luminance": 0.08065
}Semantic roles & 50–950 ramp
primary
#2745B6
secondary
#C9B670
accent
#C540E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82