#2451BA#2451BA
#2451BA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.173 H 263.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2451BA |
|---|---|
| RGB | rgb(36, 81, 186) |
| HSL | hsl(222, 68%, 44%) |
| HSV | hsv(222, 81%, 73%) |
| CMYK | cmyk(80.6%, 56.5%, 0%, 27.1%) |
| CIE-LAB | lab(37.49, 23.92, -59.65) |
| CIE-LCH | lch(37.49, 64.27, 291.85°) |
| OKLab | oklab(46.97% -0.0194 -0.1722) |
| OKLCH | oklch(46.97% 0.173 263.6) |
| XYZ | xyz(12.5297, 9.8036, 47.6768) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.54
Cobalt
#0047AB
ΔE00 3.90
Blue Blue
#2242C7
ΔE00 5.41
Denim
#1560BD
ΔE00 5.88
Dusk Blue
#26538D
ΔE00 6.17
Denim Blue
#3B5B92
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2451BA #BA8D24
analogous
#249CBA #2451BA #4224BA
triadic
#2451BA #BA2451 #51BA24
tetradic
#2451BA #BA249C #BA8D24 #24BA42
square
#2451BA #BA249C #BA8D24 #24BA42
split-complementary
#2451BA #BA4224 #9CBA24
monochromatic
#102453 #1A3B87 #2451BA #416FDA #7496E4
Accessibility & contrast
On white
7.09
#2451BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2451BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2451BA
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2451BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2451BA | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2451ba; /* rgb */ color: rgb(36, 81, 186); /* oklch */ color: oklch(47.0% 0.173 263.6);
Tailwind
colors: {
custom: {
50: '#7881d0',
500: '#2451ba',
950: '#000000',
},
}SCSS
$custom: #2451ba; $custom-light: #7881d0; $custom-dark: #000000;
JSON
{
"hex": "#2451ba",
"rgb": {
"r": 36,
"g": 81,
"b": 186
},
"hsl": {
"h": 222,
"s": 67.568,
"l": 43.529
},
"oklch": {
"l": 0.46967,
"c": 0.17334,
"h": 263.6
},
"luminance": 0.09805
}Semantic roles & 50–950 ramp
primary
#2451BA
secondary
#CBAF6E
accent
#B73DEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82