#151675#151675

#151675 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.154 H 270.8°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#151675
RGBrgb(21, 22, 117)
HSLhsl(239, 70%, 27%)
HSVhsv(239, 82%, 46%)
CMYKcmyk(82.1%, 81.2%, 0%, 54.1%)
CIE-LABlab(15.58, 34.95, -53.28)
CIE-LCHlch(15.58, 63.72, 303.26°)
OKLaboklab(28.72% 0.0023 -0.1543)
OKLCHoklch(28.72% 0.154 270.8)
XYZxyz(3.8060, 2.0172, 17.0149)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151675 #757415
analogous
#154675 #151675 #441575
triadic
#151675 #751516 #167515
tetradic
#151675 #751546 #757415 #157544
square
#151675 #751546 #757415 #157544
split-complementary
#151675 #754415 #467515
monochromatic
#05051A #0C0C41 #151675 #1E20A9 #2B2DD9

Accessibility & contrast

On white

14.96
#151675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151675
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151675#FFFFFF#000000##FFFFFF
##1516751.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002273
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151675;
/* rgb */ color: rgb(21, 22, 117);
/* oklch */ color: oklch(28.7% 0.154 270.8);
Tailwind
colors: {
  custom: {
    50: '#66559e',
    500: '#151675',
    950: '#000000',
  },
}
SCSS
$custom: #151675;
$custom-light: #66559e;
$custom-dark: #000000;
JSON
{
  "hex": "#151675",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 239.375,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.28722,
    "c": 0.1543,
    "h": 270.8
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#151675
secondary
#ABAA3B
accent
#EB3BEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151675

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

Preview Lab → · Contrast checker → · Palette generator →

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