#2451B4#2451B4

#2451B4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.165 H 263.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2451B4
RGBrgb(36, 81, 180)
HSLhsl(221, 67%, 42%)
HSVhsv(221, 80%, 71%)
CMYKcmyk(80%, 55%, 0%, 29.4%)
CIE-LABlab(37.03, 21.60, -56.87)
CIE-LCHlch(37.03, 60.83, 290.80°)
OKLaboklab(46.48% -0.0198 -0.1641)
OKLCHoklch(46.48% 0.165 263.1)
XYZxyz(11.9053, 9.5538, 44.3878)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2451B4 #B48724
analogous
#2499B4 #2451B4 #3F24B4
triadic
#2451B4 #B42451 #51B424
tetradic
#2451B4 #B42499 #B48724 #24B43F
square
#2451B4 #B42499 #B48724 #24B43F
split-complementary
#2451B4 #B43F24 #99B424
monochromatic
#10234E #1A3A81 #2451B4 #3D6ED8 #7094E2

Accessibility & contrast

On white

7.21
#2451B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2451B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2451B4
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2451B4#FFFFFF#000000##FFFFFF
##2451B41.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2451b4;
/* rgb */ color: rgb(36, 81, 180);
/* oklch */ color: oklch(46.5% 0.165 263.1);
Tailwind
colors: {
  custom: {
    50: '#7681cb',
    500: '#2451b4',
    950: '#000000',
  },
}
SCSS
$custom: #2451b4;
$custom-light: #7681cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2451b4",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 180
  },
  "hsl": {
    "h": 221.25,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46477,
    "c": 0.16527,
    "h": 263.1
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#2451B4
secondary
#C9AC6B
accent
#B43EEA
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2451B4

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

Preview Lab → · Contrast checker → · Palette generator →

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