#151A5B#151A5B

#151A5B is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.114 H 272.2°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#151A5B
RGBrgb(21, 26, 91)
HSLhsl(236, 63%, 22%)
HSVhsv(236, 77%, 36%)
CMYKcmyk(76.9%, 71.4%, 0%, 64.3%)
CIE-LABlab(13.55, 22.62, -39.52)
CIE-LCHlch(13.55, 45.54, 299.79°)
OKLaboklab(26.4% 0.0045 -0.1142)
OKLCHoklch(26.4% 0.114 272.2)
XYZxyz(2.5663, 1.6533, 10.0794)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A5B #5B5615
analogous
#153D5B #151A5B #33155B
triadic
#151A5B #5B151A #1A5B15
tetradic
#151A5B #5B153D #5B5615 #155B33
square
#151A5B #5B153D #5B5615 #155B33
split-complementary
#151A5B #5B3315 #3D5B15
monochromatic
#060719 #0A0C29 #151A5B #20288D #2C36BE

Accessibility & contrast

On white

15.78
#151A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#151A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A5B
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A5B#FFFFFF#000000##FFFFFF
##151A5B1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#001F5A
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #151a5b;
/* rgb */ color: rgb(21, 26, 91);
/* oklch */ color: oklch(26.4% 0.114 272.2);
Tailwind
colors: {
  custom: {
    50: '#5e568a',
    500: '#151a5b',
    950: '#000000',
  },
}
SCSS
$custom: #151a5b;
$custom-light: #5e568a;
$custom-dark: #000000;
JSON
{
  "hex": "#151a5b",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 235.714,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26397,
    "c": 0.11433,
    "h": 272.2
  },
  "luminance": 0.01654
}

Semantic roles & 50–950 ramp

primary
#151A5B
secondary
#928C39
accent
#DA42E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #151A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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