#151773#151773

#151773 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.151 H 270.9°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#151773
RGBrgb(21, 23, 115)
HSLhsl(239, 69%, 27%)
HSVhsv(239, 82%, 45%)
CMYKcmyk(81.7%, 80%, 0%, 54.9%)
CIE-LABlab(15.54, 33.66, -52.06)
CIE-LCHlch(15.54, 61.99, 302.89°)
OKLaboklab(28.62% 0.0023 -0.1507)
OKLCHoklch(28.62% 0.151 270.9)
XYZxyz(3.7091, 2.0096, 16.4087)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151773 #737115
analogous
#154673 #151773 #421573
triadic
#151773 #731517 #177315
tetradic
#151773 #731546 #737115 #157342
square
#151773 #731546 #737115 #157342
split-complementary
#151773 #734215 #467315
monochromatic
#05051A #0C0D3F #151773 #1E21A7 #2A2ED8

Accessibility & contrast

On white

14.98
#151773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#151773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151773
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151773#FFFFFF#000000##FFFFFF
##1517731.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151773;
/* rgb */ color: rgb(21, 23, 115);
/* oklch */ color: oklch(28.6% 0.151 270.9);
Tailwind
colors: {
  custom: {
    50: '#66559c',
    500: '#151773',
    950: '#000000',
  },
}
SCSS
$custom: #151773;
$custom-light: #66559c;
$custom-dark: #000000;
JSON
{
  "hex": "#151773",
  "rgb": {
    "r": 21,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 238.723,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28623,
    "c": 0.15076,
    "h": 270.9
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#151773
secondary
#A9A73B
accent
#E83CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151773

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

Preview Lab → · Contrast checker → · Palette generator →

#151773 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva