#2451A8#2451A8

#2451A8 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.149 H 261.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2451A8
RGBrgb(36, 81, 168)
HSLhsl(220, 65%, 40%)
HSVhsv(220, 79%, 66%)
CMYKcmyk(78.6%, 51.8%, 0%, 34.1%)
CIE-LABlab(36.15, 16.91, -51.18)
CIE-LCHlch(36.15, 53.90, 288.29°)
OKLaboklab(45.53% -0.0211 -0.1473)
OKLCHoklch(45.53% 0.149 261.9)
XYZxyz(10.7353, 9.0858, 38.2261)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2451A8 #A87B24
analogous
#2493A8 #2451A8 #3924A8
triadic
#2451A8 #A82451 #51A824
tetradic
#2451A8 #A82493 #A87B24 #24A839
square
#2451A8 #A82493 #A87B24 #24A839
split-complementary
#2451A8 #A83924 #93A824
monochromatic
#0E2043 #193976 #2451A8 #356BD4 #6890DF

Accessibility & contrast

On white

7.45
#2451A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2451A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2451A8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2451A8#FFFFFF#000000##FFFFFF
##2451A81.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185BAB
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2451a8;
/* rgb */ color: rgb(36, 81, 168);
/* oklch */ color: oklch(45.5% 0.149 261.9);
Tailwind
colors: {
  custom: {
    50: '#7381c2',
    500: '#2451a8',
    950: '#000000',
  },
}
SCSS
$custom: #2451a8;
$custom-light: #7381c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2451a8",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 168
  },
  "hsl": {
    "h": 219.545,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.4553,
    "c": 0.14883,
    "h": 261.9
  },
  "luminance": 0.09087
}

Semantic roles & 50–950 ramp

primary
#2451A8
secondary
#C4A363
accent
#AF40E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2451A8

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

Preview Lab → · Contrast checker → · Palette generator →

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