#1451B2#1451B2

#1451B2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.166 H 260.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#1451B2
RGBrgb(20, 81, 178)
HSLhsl(217, 80%, 39%)
HSVhsv(217, 89%, 70%)
CMYKcmyk(88.8%, 54.5%, 0%, 30.2%)
CIE-LABlab(36.45, 19.50, -56.64)
CIE-LCHlch(36.45, 59.90, 289.00°)
OKLaboklab(45.87% -0.0289 -0.1636)
OKLCHoklch(45.87% 0.166 260)
XYZxyz(11.2639, 9.2465, 43.3019)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1451B2 #B27514
analogous
#14A0B2 #1451B2 #2614B2
triadic
#1451B2 #B21451 #51B214
tetradic
#1451B2 #B214A0 #B27514 #14B226
square
#1451B2 #B214A0 #B27514 #14B226
split-complementary
#1451B2 #B22614 #A0B214
monochromatic
#081F44 #0E387B #1451B2 #1E6BE6 #558FEC

Accessibility & contrast

On white

7.37
#1451B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1451B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1451B2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1451B2#FFFFFF#000000##FFFFFF
##1451B21.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)
#005DB5
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1451b2;
/* rgb */ color: rgb(20, 81, 178);
/* oklch */ color: oklch(45.9% 0.166 260.0);
Tailwind
colors: {
  custom: {
    50: '#7281ca',
    500: '#1451b2',
    950: '#000000',
  },
}
SCSS
$custom: #1451b2;
$custom-light: #7281ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1451b2",
  "rgb": {
    "r": 20,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 216.835,
    "s": 79.798,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45873,
    "c": 0.16612,
    "h": 260
  },
  "luminance": 0.09248
}

Semantic roles & 50–950 ramp

primary
#1451B2
secondary
#CE9F53
accent
#AA32F6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1451B2

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

Preview Lab → · Contrast checker → · Palette generator →

#1451B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva