#151E59#151E59

#151E59 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.106 H 270.8°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#151E59
RGBrgb(21, 30, 89)
HSLhsl(232, 62%, 22%)
HSVhsv(232, 76%, 35%)
CMYKcmyk(76.4%, 66.3%, 0%, 65.1%)
CIE-LABlab(14.45, 18.94, -36.71)
CIE-LCHlch(14.45, 41.30, 297.29°)
OKLaboklab(27% 0.0015 -0.1059)
OKLCHoklch(27% 0.106 270.8)
XYZxyz(2.5761, 1.8090, 9.6627)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E59 #595015
analogous
#154059 #151E59 #2E1559
triadic
#151E59 #59151E #1E5915
tetradic
#151E59 #591540 #595015 #15592E
square
#151E59 #591540 #595015 #15592E
split-complementary
#151E59 #592E15 #405915
monochromatic
#060819 #090D27 #151E59 #212F8B #2C3FBC

Accessibility & contrast

On white

15.42
#151E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#151E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E59
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E59#FFFFFF#000000##FFFFFF
##151E591.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#002158
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151e59;
/* rgb */ color: rgb(21, 30, 89);
/* oklch */ color: oklch(27.0% 0.106 270.8);
Tailwind
colors: {
  custom: {
    50: '#5d5988',
    500: '#151e59',
    950: '#000000',
  },
}
SCSS
$custom: #151e59;
$custom-light: #5d5988;
$custom-dark: #000000;
JSON
{
  "hex": "#151e59",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 89
  },
  "hsl": {
    "h": 232.059,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26996,
    "c": 0.10596,
    "h": 270.8
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

primary
#151E59
secondary
#918539
accent
#CF43E5
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #151E59

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

Preview Lab → · Contrast checker → · Palette generator →

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