#151A59#151A59

#151A59 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.111 H 272.4°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#151A59
RGBrgb(21, 26, 89)
HSLhsl(236, 62%, 22%)
HSVhsv(236, 76%, 35%)
CMYKcmyk(76.4%, 70.8%, 0%, 65.1%)
CIE-LABlab(13.35, 21.83, -38.51)
CIE-LCHlch(13.35, 44.27, 299.54°)
OKLaboklab(26.19% 0.0047 -0.1113)
OKLCHoklch(26.19% 0.111 272.4)
XYZxyz(2.4812, 1.6192, 9.6310)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A59 #595415
analogous
#153C59 #151A59 #321559
triadic
#151A59 #59151A #1A5915
tetradic
#151A59 #59153C #595415 #155932
square
#151A59 #59153C #595415 #155932
split-complementary
#151A59 #593215 #3C5915
monochromatic
#060719 #090C27 #151A59 #21288B #2C37BC

Accessibility & contrast

On white

15.86
#151A59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#151A59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A59
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A59#FFFFFF#000000##FFFFFF
##151A591.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#001F58
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #151a59;
/* rgb */ color: rgb(21, 26, 89);
/* oklch */ color: oklch(26.2% 0.111 272.4);
Tailwind
colors: {
  custom: {
    50: '#5e5689',
    500: '#151a59',
    950: '#000000',
  },
}
SCSS
$custom: #151a59;
$custom-light: #5e5689;
$custom-dark: #000000;
JSON
{
  "hex": "#151a59",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 89
  },
  "hsl": {
    "h": 235.588,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26185,
    "c": 0.11138,
    "h": 272.4
  },
  "luminance": 0.01619
}

Semantic roles & 50–950 ramp

primary
#151A59
secondary
#918A39
accent
#D943E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #151A59

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

Preview Lab → · Contrast checker → · Palette generator →

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