#2451B3#2451B3

#2451B3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.164 H 263.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2451B3
RGBrgb(36, 81, 179)
HSLhsl(221, 67%, 42%)
HSVhsv(221, 80%, 70%)
CMYKcmyk(79.9%, 54.7%, 0%, 29.8%)
CIE-LABlab(36.95, 21.21, -56.40)
CIE-LCHlch(36.95, 60.25, 290.61°)
OKLaboklab(46.4% -0.0199 -0.1627)
OKLCHoklch(46.4% 0.164 263)
XYZxyz(11.8038, 9.5132, 43.8532)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2451B3 #B38624
analogous
#2499B3 #2451B3 #3F24B3
triadic
#2451B3 #B32451 #51B324
tetradic
#2451B3 #B32499 #B38624 #24B33F
square
#2451B3 #B32499 #B38624 #24B33F
split-complementary
#2451B3 #B33F24 #99B324
monochromatic
#10234D #1A3A80 #2451B3 #3C6DD8 #6F93E2

Accessibility & contrast

On white

7.23
#2451B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2451B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2451B3#FFFFFF#000000##FFFFFF
##2451B31.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2451b3;
/* rgb */ color: rgb(36, 81, 179);
/* oklch */ color: oklch(46.4% 0.164 263.0);
Tailwind
colors: {
  custom: {
    50: '#7681ca',
    500: '#2451b3',
    950: '#000000',
  },
}
SCSS
$custom: #2451b3;
$custom-light: #7681ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2451b3",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 221.119,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46396,
    "c": 0.16391,
    "h": 263
  },
  "luminance": 0.09515
}

Semantic roles & 50–950 ramp

primary
#2451B3
secondary
#C9AB6A
accent
#B43EE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2451B3

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

Preview Lab → · Contrast checker → · Palette generator →

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