#2745B3#2745B3
#2745B3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.178 H 266.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2745B3 |
|---|---|
| RGB | rgb(39, 69, 179) |
| HSL | hsl(227, 64%, 43%) |
| HSV | hsv(227, 78%, 70%) |
| CMYK | cmyk(78.2%, 61.5%, 0%, 29.8%) |
| CIE-LAB | lab(33.86, 29.48, -61.43) |
| CIE-LCH | lch(33.86, 68.14, 295.63°) |
| OKLab | oklab(44.11% -0.0097 -0.1776) |
| OKLCH | oklch(44.11% 0.178 266.9) |
| XYZ | xyz(11.0987, 7.9410, 43.5869) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.90
Cobalt
#0047AB
ΔE00 3.33
Sapphire (survey)
#2138AB
ΔE00 3.95
Sapphire
#0F52BA
ΔE00 5.11
Blue (survey)
#0343DF
ΔE00 5.49
Ocean Blue
#4F42B5
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2745B3 #B39527
analogous
#278BB3 #2745B3 #4F27B3
triadic
#2745B3 #B32745 #45B327
tetradic
#2745B3 #B3278B #B39527 #27B34F
square
#2745B3 #B3278B #B39527 #27B34F
split-complementary
#2745B3 #B34F27 #8BB327
monochromatic
#111E4E #1C3281 #2745B3 #4161D6 #748BE1
Accessibility & contrast
On white
8.11
#2745B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2745B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2745B3
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2745B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2745B3 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2745b3; /* rgb */ color: rgb(39, 69, 179); /* oklch */ color: oklch(44.1% 0.178 266.9);
Tailwind
colors: {
custom: {
50: '#7878cb',
500: '#2745b3',
950: '#000000',
},
}SCSS
$custom: #2745b3; $custom-light: #7878cb; $custom-dark: #000000;
JSON
{
"hex": "#2745b3",
"rgb": {
"r": 39,
"g": 69,
"b": 179
},
"hsl": {
"h": 227.143,
"s": 64.22,
"l": 42.745
},
"oklch": {
"l": 0.44106,
"c": 0.17788,
"h": 266.9
},
"luminance": 0.07942
}Semantic roles & 50–950 ramp
primary
#2745B3
secondary
#C8B56E
accent
#C441E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82