#151C59#151C59

#151C59 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.109 H 271.6°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#151C59
RGBrgb(21, 28, 89)
HSLhsl(234, 62%, 22%)
HSVhsv(234, 76%, 35%)
CMYKcmyk(76.4%, 68.5%, 0%, 65.1%)
CIE-LABlab(13.89, 20.39, -37.62)
CIE-LCHlch(13.89, 42.79, 298.46°)
OKLaboklab(26.58% 0.0031 -0.1087)
OKLCHoklch(26.58% 0.109 271.6)
XYZxyz(2.5271, 1.7110, 9.6463)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C59 #595215
analogous
#153E59 #151C59 #301559
triadic
#151C59 #59151C #1C5915
tetradic
#151C59 #59153E #595215 #155930
square
#151C59 #59153E #595215 #155930
split-complementary
#151C59 #593015 #3E5915
monochromatic
#060819 #090C27 #151C59 #212C8B #2C3BBC

Accessibility & contrast

On white

15.65
#151C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#151C59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C59
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C59#FFFFFF#000000##FFFFFF
##151C591.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002058
Tritanopia (blue-blind)
#002C37
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #151c59;
/* rgb */ color: rgb(21, 28, 89);
/* oklch */ color: oklch(26.6% 0.109 271.6);
Tailwind
colors: {
  custom: {
    50: '#5e5889',
    500: '#151c59',
    950: '#000000',
  },
}
SCSS
$custom: #151c59;
$custom-light: #5e5889;
$custom-dark: #000000;
JSON
{
  "hex": "#151c59",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 89
  },
  "hsl": {
    "h": 233.824,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26583,
    "c": 0.1087,
    "h": 271.6
  },
  "luminance": 0.01711
}

Semantic roles & 50–950 ramp

primary
#151C59
secondary
#918839
accent
#D443E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #151C59

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

Preview Lab → · Contrast checker → · Palette generator →

#151C59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva