#2451A3#2451A3

#2451A3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.142 H 261.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2451A3
RGBrgb(36, 81, 163)
HSLhsl(219, 64%, 39%)
HSVhsv(219, 78%, 64%)
CMYKcmyk(77.9%, 50.3%, 0%, 36.1%)
CIE-LABlab(35.80, 14.95, -48.76)
CIE-LCHlch(35.80, 51.00, 287.05°)
OKLaboklab(45.15% -0.0217 -0.1402)
OKLCHoklch(45.15% 0.142 261.2)
XYZxyz(10.2785, 8.9031, 35.8200)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2451A3 #A37624
analogous
#2491A3 #2451A3 #3724A3
triadic
#2451A3 #A32451 #51A324
tetradic
#2451A3 #A32491 #A37624 #24A337
square
#2451A3 #A32491 #A37624 #24A337
split-complementary
#2451A3 #A33724 #91A324
monochromatic
#0E1F3F #193871 #2451A3 #326BD2 #658FDD

Accessibility & contrast

On white

7.55
#2451A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2451A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2451A3
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2451A3#FFFFFF#000000##FFFFFF
##2451A31.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2451a3;
/* rgb */ color: rgb(36, 81, 163);
/* oklch */ color: oklch(45.1% 0.142 261.2);
Tailwind
colors: {
  custom: {
    50: '#7281bf',
    500: '#2451a3',
    950: '#000000',
  },
}
SCSS
$custom: #2451a3;
$custom-light: #7281bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2451a3",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 218.74,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45149,
    "c": 0.1419,
    "h": 261.2
  },
  "luminance": 0.08904
}

Semantic roles & 50–950 ramp

primary
#2451A3
secondary
#C2A060
accent
#AC41E7
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2451A3

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

Preview Lab → · Contrast checker → · Palette generator →

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