#151A5C#151A5C

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

Color values

HEX#151A5C
RGBrgb(21, 26, 92)
HSLhsl(236, 63%, 22%)
HSVhsv(236, 77%, 36%)
CMYKcmyk(77.2%, 71.7%, 0%, 63.9%)
CIE-LABlab(13.65, 23.02, -40.02)
CIE-LCHlch(13.65, 46.17, 299.91°)
OKLaboklab(26.5% 0.0044 -0.1157)
OKLCHoklch(26.5% 0.116 272.2)
XYZxyz(2.6098, 1.6707, 10.3081)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A5C #5C5715
analogous
#153D5C #151A5C #34155C
triadic
#151A5C #5C151A #1A5C15
tetradic
#151A5C #5C153D #5C5715 #155C34
square
#151A5C #5C153D #5C5715 #155C34
split-complementary
#151A5C #5C3415 #3D5C15
monochromatic
#060719 #0A0C2A #151A5C #20288E #2C36C0

Accessibility & contrast

On white

15.74
#151A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A5C
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A5C#FFFFFF#000000##FFFFFF
##151A5C1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #151a5c;
/* rgb */ color: rgb(21, 26, 92);
/* oklch */ color: oklch(26.5% 0.116 272.2);
Tailwind
colors: {
  custom: {
    50: '#5f568b',
    500: '#151a5c',
    950: '#000000',
  },
}
SCSS
$custom: #151a5c;
$custom-light: #5f568b;
$custom-dark: #000000;
JSON
{
  "hex": "#151a5c",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 235.775,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26503,
    "c": 0.11578,
    "h": 272.2
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#151A5C
secondary
#938D39
accent
#DA42E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #151A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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