#2451A9#2451A9

#2451A9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.6% C 0.150 H 262.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2451A9
RGBrgb(36, 81, 169)
HSLhsl(220, 65%, 40%)
HSVhsv(220, 79%, 66%)
CMYKcmyk(78.7%, 52.1%, 0%, 33.7%)
CIE-LABlab(36.22, 17.30, -51.66)
CIE-LCHlch(36.22, 54.48, 288.52°)
OKLaboklab(45.61% -0.021 -0.1487)
OKLCHoklch(45.61% 0.15 262)
XYZxyz(10.8288, 9.1232, 38.7187)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2451A9 #A97C24
analogous
#2494A9 #2451A9 #3924A9
triadic
#2451A9 #A92451 #51A924
tetradic
#2451A9 #A92494 #A97C24 #24A939
square
#2451A9 #A92494 #A97C24 #24A939
split-complementary
#2451A9 #A93924 #94A924
monochromatic
#0F2144 #193977 #2451A9 #366CD4 #6891DF

Accessibility & contrast

On white

7.43
#2451A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2451A9
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2451A9#FFFFFF#000000##FFFFFF
##2451A91.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165CAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2451a9;
/* rgb */ color: rgb(36, 81, 169);
/* oklch */ color: oklch(45.6% 0.150 262.0);
Tailwind
colors: {
  custom: {
    50: '#7481c3',
    500: '#2451a9',
    950: '#000000',
  },
}
SCSS
$custom: #2451a9;
$custom-light: #7481c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2451a9",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 169
  },
  "hsl": {
    "h": 219.699,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.15022,
    "h": 262
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#2451A9
secondary
#C5A464
accent
#AF40E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2451A9

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

Preview Lab → · Contrast checker → · Palette generator →

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