#2451AA#2451AA

#2451AA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.152 H 262.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2451AA
RGBrgb(36, 81, 170)
HSLhsl(220, 65%, 40%)
HSVhsv(220, 79%, 67%)
CMYKcmyk(78.8%, 52.4%, 0%, 33.3%)
CIE-LABlab(36.29, 17.70, -52.14)
CIE-LCHlch(36.29, 55.06, 288.75°)
OKLaboklab(45.68% -0.0208 -0.1502)
OKLCHoklch(45.68% 0.152 262.1)
XYZxyz(10.9231, 9.1609, 39.2150)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2451AA #AA7D24
analogous
#2494AA #2451AA #3A24AA
triadic
#2451AA #AA2451 #51AA24
tetradic
#2451AA #AA2494 #AA7D24 #24AA3A
square
#2451AA #AA2494 #AA7D24 #24AA3A
split-complementary
#2451AA #AA3A24 #94AA24
monochromatic
#0F2145 #193977 #2451AA #376CD5 #6991DF

Accessibility & contrast

On white

7.41
#2451AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2451AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2451AA#FFFFFF#000000##FFFFFF
##2451AA1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145CAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2451aa;
/* rgb */ color: rgb(36, 81, 170);
/* oklch */ color: oklch(45.7% 0.152 262.1);
Tailwind
colors: {
  custom: {
    50: '#7481c4',
    500: '#2451aa',
    950: '#000000',
  },
}
SCSS
$custom: #2451aa;
$custom-light: #7481c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2451aa",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 219.851,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45684,
    "c": 0.1516,
    "h": 262.1
  },
  "luminance": 0.09162
}

Semantic roles & 50–950 ramp

primary
#2451AA
secondary
#C5A565
accent
#B040E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2451AA

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

Preview Lab → · Contrast checker → · Palette generator →

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