#151E41#151E41

#151E41 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.8% C 0.067 H 270.1°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#151E41
RGBrgb(21, 30, 65)
HSLhsl(228, 51%, 17%)
HSVhsv(228, 68%, 25%)
CMYKcmyk(67.7%, 53.8%, 0%, 74.5%)
CIE-LABlab(12.41, 8.99, -23.54)
CIE-LCHlch(12.41, 25.20, 290.89°)
OKLaboklab(24.82% 0.0001 -0.0672)
OKLCHoklch(24.82% 0.067 270.1)
XYZxyz(1.7273, 1.4695, 5.1926)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E41 #413815
analogous
#153441 #151E41 #221541
triadic
#151E41 #41151E #1E4115
tetradic
#151E41 #411534 #413815 #154122
square
#151E41 #411534 #413815 #154122
split-complementary
#151E41 #412215 #344115
monochromatic
#070B17 #070B17 #151E41 #24336F #33499E

Accessibility & contrast

On white

16.23
#151E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#151E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E41
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E41#FFFFFF#000000##FFFFFF
##151E411.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2242
Deuteranopia (green-blind)
#061E40
Tritanopia (blue-blind)
#00262C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151e41;
/* rgb */ color: rgb(21, 30, 65);
/* oklch */ color: oklch(24.8% 0.067 270.1);
Tailwind
colors: {
  custom: {
    50: '#575976',
    500: '#151e41',
    950: '#000000',
  },
}
SCSS
$custom: #151e41;
$custom-light: #575976;
$custom-dark: #000000;
JSON
{
  "hex": "#151e41",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 65
  },
  "hsl": {
    "h": 227.727,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24824,
    "c": 0.06724,
    "h": 270.1
  },
  "luminance": 0.0147
}

Semantic roles & 50–950 ramp

primary
#151E41
secondary
#796C39
accent
#BE4DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #151E41

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

Preview Lab → · Contrast checker → · Palette generator →

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