#151E5B#151E5B

#151E5B is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.2% C 0.109 H 270.7°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#151E5B
RGBrgb(21, 30, 91)
HSLhsl(232, 63%, 22%)
HSVhsv(232, 77%, 36%)
CMYKcmyk(76.9%, 67%, 0%, 64.3%)
CIE-LABlab(14.64, 19.75, -37.74)
CIE-LCHlch(14.64, 42.60, 297.63°)
OKLaboklab(27.2% 0.0014 -0.109)
OKLCHoklch(27.2% 0.109 270.7)
XYZxyz(2.6612, 1.8430, 10.1110)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E5B #5B5215
analogous
#15415B #151E5B #2F155B
triadic
#151E5B #5B151E #1E5B15
tetradic
#151E5B #5B1541 #5B5215 #155B2F
square
#151E5B #5B1541 #5B5215 #155B2F
split-complementary
#151E5B #5B2F15 #415B15
monochromatic
#060819 #0A0E29 #151E5B #202E8D #2C3FBE

Accessibility & contrast

On white

15.34
#151E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151E5B
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E5B#FFFFFF#000000##FFFFFF
##151E5B1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151e5b;
/* rgb */ color: rgb(21, 30, 91);
/* oklch */ color: oklch(27.2% 0.109 270.7);
Tailwind
colors: {
  custom: {
    50: '#5e598a',
    500: '#151e5b',
    950: '#000000',
  },
}
SCSS
$custom: #151e5b;
$custom-light: #5e598a;
$custom-dark: #000000;
JSON
{
  "hex": "#151e5b",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 232.286,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27195,
    "c": 0.10899,
    "h": 270.7
  },
  "luminance": 0.01843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #151E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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