#151E5E#151E5E

#151E5E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.113 H 270.6°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#151E5E
RGBrgb(21, 30, 94)
HSLhsl(233, 63%, 23%)
HSVhsv(233, 78%, 37%)
CMYKcmyk(77.7%, 68.1%, 0%, 63.1%)
CIE-LABlab(14.93, 20.98, -39.27)
CIE-LCHlch(14.93, 44.52, 298.11°)
OKLaboklab(27.5% 0.0013 -0.1135)
OKLCHoklch(27.5% 0.113 270.6)
XYZxyz(2.7932, 1.8958, 10.8062)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E5E #5E5515
analogous
#15425E #151E5E #31155E
triadic
#151E5E #5E151E #1E5E15
tetradic
#151E5E #5E1542 #5E5515 #155E31
square
#151E5E #5E1542 #5E5515 #155E31
split-complementary
#151E5E #5E3115 #425E15
monochromatic
#060819 #0A0E2C #151E5E #202E90 #2B3EC2

Accessibility & contrast

On white

15.23
#151E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#151E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E5E
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E5E#FFFFFF#000000##FFFFFF
##151E5E1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#00225D
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151e5e;
/* rgb */ color: rgb(21, 30, 94);
/* oklch */ color: oklch(27.5% 0.113 270.6);
Tailwind
colors: {
  custom: {
    50: '#5f598c',
    500: '#151e5e',
    950: '#000000',
  },
}
SCSS
$custom: #151e5e;
$custom-light: #5f598c;
$custom-dark: #000000;
JSON
{
  "hex": "#151e5e",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 232.603,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27498,
    "c": 0.11348,
    "h": 270.6
  },
  "luminance": 0.01896
}

Semantic roles & 50–950 ramp

primary
#151E5E
secondary
#958A39
accent
#D241E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #151E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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