#2745BA#2745BA
#2745BA is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.187 H 267.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2745BA |
|---|---|
| RGB | rgb(39, 69, 186) |
| HSL | hsl(228, 65%, 44%) |
| HSV | hsv(228, 79%, 73%) |
| CMYK | cmyk(79%, 62.9%, 0%, 27.1%) |
| CIE-LAB | lab(34.46, 32.10, -64.59) |
| CIE-LCH | lch(34.46, 72.13, 296.43°) |
| OKLab | oklab(44.74% -0.0097 -0.1869) |
| OKLCH | oklch(44.74% 0.187 267) |
| XYZ | xyz(11.8247, 8.2314, 47.4105) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.97
Cobalt
#0047AB
ΔE00 4.01
Sapphire (survey)
#2138AB
ΔE00 4.19
Blue (survey)
#0343DF
ΔE00 4.54
Sapphire
#0F52BA
ΔE00 5.25
Ocean Blue
#4F42B5
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2745BA #BA9C27
analogous
#278FBA #2745BA #5327BA
triadic
#2745BA #BA2745 #45BA27
tetradic
#2745BA #BA278F #BA9C27 #27BA53
square
#2745BA #BA278F #BA9C27 #27BA53
split-complementary
#2745BA #BA5327 #8FBA27
monochromatic
#121F55 #1C3287 #2745BA #4664D8 #798EE3
Accessibility & contrast
On white
7.93
#2745BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2745BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2745BA
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2745BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2745BA | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2745ba; /* rgb */ color: rgb(39, 69, 186); /* oklch */ color: oklch(44.7% 0.187 267.0);
Tailwind
colors: {
custom: {
50: '#7a78d0',
500: '#2745ba',
950: '#000000',
},
}SCSS
$custom: #2745ba; $custom-light: #7a78d0; $custom-dark: #000000;
JSON
{
"hex": "#2745ba",
"rgb": {
"r": 39,
"g": 69,
"b": 186
},
"hsl": {
"h": 227.755,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.44737,
"c": 0.18711,
"h": 267
},
"luminance": 0.08233
}Semantic roles & 50–950 ramp
primary
#2745BA
secondary
#CBB972
accent
#C640E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82