#2451B0#2451B0

#2451B0 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.160 H 262.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2451B0
RGBrgb(36, 81, 176)
HSLhsl(221, 66%, 42%)
HSVhsv(221, 80%, 69%)
CMYKcmyk(79.5%, 54%, 0%, 31%)
CIE-LABlab(36.73, 20.04, -54.99)
CIE-LCHlch(36.73, 58.53, 290.02°)
OKLaboklab(46.16% -0.0202 -0.1585)
OKLCHoklch(46.16% 0.16 262.7)
XYZxyz(11.5036, 9.3932, 42.2727)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2451B0 #B08324
analogous
#2497B0 #2451B0 #3D24B0
triadic
#2451B0 #B02451 #51B024
tetradic
#2451B0 #B02497 #B08324 #24B03D
square
#2451B0 #B02497 #B08324 #24B03D
split-complementary
#2451B0 #B03D24 #97B024
monochromatic
#0F224A #1A3A7D #2451B0 #3A6DD7 #6D92E1

Accessibility & contrast

On white

7.29
#2451B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2451B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2451B0#FFFFFF#000000##FFFFFF
##2451B01.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015DB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2451b0;
/* rgb */ color: rgb(36, 81, 176);
/* oklch */ color: oklch(46.2% 0.160 262.7);
Tailwind
colors: {
  custom: {
    50: '#7581c8',
    500: '#2451b0',
    950: '#000000',
  },
}
SCSS
$custom: #2451b0;
$custom-light: #7581c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2451b0",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 176
  },
  "hsl": {
    "h": 220.714,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46156,
    "c": 0.15982,
    "h": 262.7
  },
  "luminance": 0.09395
}

Semantic roles & 50–950 ramp

primary
#2451B0
secondary
#C8A968
accent
#B23FE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2451B0

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

Preview Lab → · Contrast checker → · Palette generator →

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