#2451C7#2451C7
#2451C7 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.1% C 0.191 H 264.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2451C7 |
|---|---|
| RGB | rgb(36, 81, 199) |
| HSL | hsl(223, 69%, 46%) |
| HSV | hsv(223, 82%, 78%) |
| CMYK | cmyk(81.9%, 59.3%, 0%, 22%) |
| CIE-LAB | lab(38.52, 28.91, -65.56) |
| CIE-LCH | lch(38.52, 71.65, 293.79°) |
| OKLab | oklab(48.06% -0.0187 -0.1896) |
| OKLCH | oklch(48.06% 0.191 264.4) |
| XYZ | xyz(13.9751, 10.3818, 55.2891) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.83
Blue Blue
#2242C7
ΔE00 4.73
Blue (survey)
#0343DF
ΔE00 5.09
Cobalt
#0047AB
ΔE00 5.17
Warm Blue
#4B57DB
ΔE00 5.51
Azul
#1D5DEC
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2451C7 #C79A24
analogous
#24A2C7 #2451C7 #4924C7
triadic
#2451C7 #C72451 #51C724
tetradic
#2451C7 #C724A2 #C79A24 #24C749
square
#2451C7 #C724A2 #C79A24 #24C749
split-complementary
#2451C7 #C74924 #A2C724
monochromatic
#11275F #1B3C93 #2451C7 #4A73DE #7E9BE8
Accessibility & contrast
On white
6.83
#2451C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2451C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2451C7
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2451C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2451C7 | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0053C5
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2451c7; /* rgb */ color: rgb(36, 81, 199); /* oklch */ color: oklch(48.1% 0.191 264.4);
Tailwind
colors: {
custom: {
50: '#7b81d9',
500: '#2451c7',
950: '#000000',
},
}SCSS
$custom: #2451c7; $custom-light: #7b81d9; $custom-dark: #000000;
JSON
{
"hex": "#2451c7",
"rgb": {
"r": 36,
"g": 81,
"b": 199
},
"hsl": {
"h": 223.436,
"s": 69.362,
"l": 46.078
},
"oklch": {
"l": 0.48064,
"c": 0.19052,
"h": 264.4
},
"luminance": 0.10383
}Semantic roles & 50–950 ramp
primary
#2451C7
secondary
#D0B777
accent
#BB3CEC
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83