#151673#151673

#151673 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.152 H 271.0°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#151673
RGBrgb(21, 22, 115)
HSLhsl(239, 69%, 27%)
HSVhsv(239, 82%, 45%)
CMYKcmyk(81.7%, 80.9%, 0%, 54.9%)
CIE-LABlab(15.33, 34.24, -52.40)
CIE-LCHlch(15.33, 62.59, 303.17°)
OKLaboklab(28.48% 0.0027 -0.1517)
OKLCHoklch(28.48% 0.152 271)
XYZxyz(3.6896, 1.9706, 16.4022)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151673 #737215
analogous
#154573 #151673 #431573
triadic
#151673 #731516 #167315
tetradic
#151673 #731545 #737215 #157343
square
#151673 #731545 #737215 #157343
split-complementary
#151673 #734315 #457315
monochromatic
#05051A #0C0C3F #151673 #1E20A7 #2A2CD8

Accessibility & contrast

On white

15.06
#151673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#151673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151673
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151673#FFFFFF#000000##FFFFFF
##1516731.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151673;
/* rgb */ color: rgb(21, 22, 115);
/* oklch */ color: oklch(28.5% 0.152 271.0);
Tailwind
colors: {
  custom: {
    50: '#66559c',
    500: '#151673',
    950: '#000000',
  },
}
SCSS
$custom: #151673;
$custom-light: #66559c;
$custom-dark: #000000;
JSON
{
  "hex": "#151673",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 239.362,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28479,
    "c": 0.15173,
    "h": 271
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

primary
#151673
secondary
#A9A83B
accent
#EA3CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151673

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

Preview Lab → · Contrast checker → · Palette generator →

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