#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
RGBrgb(36, 81, 199)
HSLhsl(223, 69%, 46%)
HSVhsv(223, 82%, 78%)
CMYKcmyk(81.9%, 59.3%, 0%, 22%)
CIE-LABlab(38.52, 28.91, -65.56)
CIE-LCHlch(38.52, 71.65, 293.79°)
OKLaboklab(48.06% -0.0187 -0.1896)
OKLCHoklch(48.06% 0.191 264.4)
XYZxyz(13.9751, 10.3818, 55.2891)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##2451C71.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.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

Preview Lab

Preview with #2451C7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2451C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva