#2545B3#2545B3
#2545B3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.178 H 266.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2545B3 |
|---|---|
| RGB | rgb(37, 69, 179) |
| HSL | hsl(226, 66%, 42%) |
| HSV | hsv(226, 79%, 70%) |
| CMYK | cmyk(79.3%, 61.5%, 0%, 29.8%) |
| CIE-LAB | lab(33.78, 29.28, -61.57) |
| CIE-LCH | lch(33.78, 68.17, 295.43°) |
| OKLab | oklab(44.03% -0.0113 -0.1781) |
| OKLCH | oklch(44.03% 0.178 266.4) |
| XYZ | xyz(11.0249, 7.9030, 43.5835) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.96
Cobalt
#0047AB
ΔE00 3.16
Sapphire (survey)
#2138AB
ΔE00 3.98
Sapphire
#0F52BA
ΔE00 5.01
Blue (survey)
#0343DF
ΔE00 5.52
Ocean Blue
#4F42B5
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2545B3 #B39325
analogous
#258CB3 #2545B3 #4C25B3
triadic
#2545B3 #B32545 #45B325
tetradic
#2545B3 #B3258C #B39325 #25B34C
square
#2545B3 #B3258C #B39325 #25B34C
split-complementary
#2545B3 #B34C25 #8CB325
monochromatic
#101E4E #1B3180 #2545B3 #3E61D7 #718AE2
Accessibility & contrast
On white
8.14
#2545B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2545B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2545B3
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2545B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2545B3 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2545b3; /* rgb */ color: rgb(37, 69, 179); /* oklch */ color: oklch(44.0% 0.178 266.4);
Tailwind
colors: {
custom: {
50: '#7778cb',
500: '#2545b3',
950: '#000000',
},
}SCSS
$custom: #2545b3; $custom-light: #7778cb; $custom-dark: #000000;
JSON
{
"hex": "#2545b3",
"rgb": {
"r": 37,
"g": 69,
"b": 179
},
"hsl": {
"h": 226.479,
"s": 65.741,
"l": 42.353
},
"oklch": {
"l": 0.44025,
"c": 0.17841,
"h": 266.4
},
"luminance": 0.07904
}Semantic roles & 50–950 ramp
primary
#2545B3
secondary
#C8B36B
accent
#C23FE9
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82