#151E5C#151E5C

#151E5C is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.110 H 270.7°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#151E5C
RGBrgb(21, 30, 92)
HSLhsl(232, 63%, 22%)
HSVhsv(232, 77%, 36%)
CMYKcmyk(77.2%, 67.4%, 0%, 63.9%)
CIE-LABlab(14.74, 20.16, -38.25)
CIE-LCHlch(14.74, 43.24, 297.79°)
OKLaboklab(27.3% 0.0014 -0.1105)
OKLCHoklch(27.3% 0.11 270.7)
XYZxyz(2.7046, 1.8604, 10.3397)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E5C #5C5315
analogous
#15425C #151E5C #2F155C
triadic
#151E5C #5C151E #1E5C15
tetradic
#151E5C #5C1542 #5C5315 #155C2F
square
#151E5C #5C1542 #5C5315 #155C2F
split-complementary
#151E5C #5C2F15 #425C15
monochromatic
#060819 #0A0E2A #151E5C #202E8E #2C3EC0

Accessibility & contrast

On white

15.30
#151E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#151E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E5C
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E5C#FFFFFF#000000##FFFFFF
##151E5C1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00225B
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151e5c;
/* rgb */ color: rgb(21, 30, 92);
/* oklch */ color: oklch(27.3% 0.110 270.7);
Tailwind
colors: {
  custom: {
    50: '#5e598b',
    500: '#151e5c',
    950: '#000000',
  },
}
SCSS
$custom: #151e5c;
$custom-light: #5e598b;
$custom-dark: #000000;
JSON
{
  "hex": "#151e5c",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 92
  },
  "hsl": {
    "h": 232.394,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27296,
    "c": 0.11049,
    "h": 270.7
  },
  "luminance": 0.01861
}

Semantic roles & 50–950 ramp

primary
#151E5C
secondary
#938839
accent
#D142E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #151E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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