#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
RGBrgb(36, 81, 186)
HSLhsl(222, 68%, 44%)
HSVhsv(222, 81%, 73%)
CMYKcmyk(80.6%, 56.5%, 0%, 27.1%)
CIE-LABlab(37.49, 23.92, -59.65)
CIE-LCHlch(37.49, 64.27, 291.85°)
OKLaboklab(46.97% -0.0194 -0.1722)
OKLCHoklch(46.97% 0.173 263.6)
XYZxyz(12.5297, 9.8036, 47.6768)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##2451BA1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.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

Preview Lab

Preview with #2451BA

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

Preview Lab → · Contrast checker → · Palette generator →

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