#2451AC#2451AC

#2451AC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.154 H 262.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2451AC
RGBrgb(36, 81, 172)
HSLhsl(220, 65%, 41%)
HSVhsv(220, 79%, 67%)
CMYKcmyk(79.1%, 52.9%, 0%, 32.5%)
CIE-LABlab(36.44, 18.48, -53.09)
CIE-LCHlch(36.44, 56.22, 289.19°)
OKLaboklab(45.84% -0.0206 -0.153)
OKLCHoklch(45.84% 0.154 262.3)
XYZxyz(11.1137, 9.2372, 40.2189)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2451AC #AC7F24
analogous
#2495AC #2451AC #3B24AC
triadic
#2451AC #AC2451 #51AC24
tetradic
#2451AC #AC2495 #AC7F24 #24AC3B
square
#2451AC #AC2495 #AC7F24 #24AC3B
split-complementary
#2451AC #AC3B24 #95AC24
monochromatic
#0F2147 #193979 #2451AC #386CD5 #6A91E0

Accessibility & contrast

On white

7.37
#2451AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2451AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2451AC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2451AC#FFFFFF#000000##FFFFFF
##2451AC1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5CAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2451ac;
/* rgb */ color: rgb(36, 81, 172);
/* oklch */ color: oklch(45.8% 0.154 262.3);
Tailwind
colors: {
  custom: {
    50: '#7481c5',
    500: '#2451ac',
    950: '#000000',
  },
}
SCSS
$custom: #2451ac;
$custom-light: #7481c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2451ac",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 220.147,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4584,
    "c": 0.15434,
    "h": 262.3
  },
  "luminance": 0.09238
}

Semantic roles & 50–950 ramp

primary
#2451AC
secondary
#C6A666
accent
#B03FE8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2451AC

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

Preview Lab → · Contrast checker → · Palette generator →

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