#2451A2#2451A2

#2451A2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.140 H 261.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2451A2
RGBrgb(36, 81, 162)
HSLhsl(219, 64%, 39%)
HSVhsv(219, 78%, 64%)
CMYKcmyk(77.8%, 50%, 0%, 36.5%)
CIE-LABlab(35.73, 14.56, -48.27)
CIE-LCHlch(35.73, 50.42, 286.78°)
OKLaboklab(45.07% -0.0219 -0.1388)
OKLCHoklch(45.07% 0.14 261)
XYZxyz(10.1892, 8.8674, 35.3500)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2451A2 #A27524
analogous
#2490A2 #2451A2 #3624A2
triadic
#2451A2 #A22451 #51A224
tetradic
#2451A2 #A22490 #A27524 #24A236
square
#2451A2 #A22490 #A27524 #24A236
split-complementary
#2451A2 #A23624 #90A224
monochromatic
#0E1F3E #193870 #2451A2 #326BD1 #648FDD

Accessibility & contrast

On white

7.57
#2451A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2451A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2451A2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2451A2#FFFFFF#000000##FFFFFF
##2451A21.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2451a2;
/* rgb */ color: rgb(36, 81, 162);
/* oklch */ color: oklch(45.1% 0.140 261.0);
Tailwind
colors: {
  custom: {
    50: '#7281be',
    500: '#2451a2',
    950: '#000000',
  },
}
SCSS
$custom: #2451a2;
$custom-light: #7281be;
$custom-dark: #000000;
JSON
{
  "hex": "#2451a2",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 218.571,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45073,
    "c": 0.14049,
    "h": 261
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#2451A2
secondary
#C29F60
accent
#AC41E7
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2451A2

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

Preview Lab → · Contrast checker → · Palette generator →

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