#151A58#151A58

#151A58 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.110 H 272.5°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#151A58
RGBrgb(21, 26, 88)
HSLhsl(236, 61%, 21%)
HSVhsv(236, 76%, 35%)
CMYKcmyk(76.1%, 70.5%, 0%, 65.5%)
CIE-LABlab(13.25, 21.43, -38.00)
CIE-LCHlch(13.25, 43.63, 299.42°)
OKLaboklab(26.08% 0.0048 -0.1098)
OKLCHoklch(26.08% 0.11 272.5)
XYZxyz(2.4395, 1.6026, 9.4114)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A58 #585315
analogous
#153C58 #151A58 #321558
triadic
#151A58 #58151A #1A5815
tetradic
#151A58 #58153C #585315 #155832
square
#151A58 #58153C #585315 #155832
split-complementary
#151A58 #583215 #3C5815
monochromatic
#060719 #090B27 #151A58 #212989 #2D37BB

Accessibility & contrast

On white

15.90
#151A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A58
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A58#FFFFFF#000000##FFFFFF
##151A581.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#002A36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #151a58;
/* rgb */ color: rgb(21, 26, 88);
/* oklch */ color: oklch(26.1% 0.110 272.5);
Tailwind
colors: {
  custom: {
    50: '#5e5688',
    500: '#151a58',
    950: '#000000',
  },
}
SCSS
$custom: #151a58;
$custom-light: #5e5688;
$custom-dark: #000000;
JSON
{
  "hex": "#151a58",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 235.522,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26081,
    "c": 0.10989,
    "h": 272.5
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#151A58
secondary
#908939
accent
#D943E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #151A58

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

Preview Lab → · Contrast checker → · Palette generator →

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