#151E3E#151E3E

#151E3E is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.062 H 269.6°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#151E3E
RGBrgb(21, 30, 62)
HSLhsl(227, 49%, 16%)
HSVhsv(227, 66%, 24%)
CMYKcmyk(66.1%, 51.6%, 0%, 75.7%)
CIE-LABlab(12.19, 7.75, -21.78)
CIE-LCHlch(12.19, 23.12, 289.59°)
OKLaboklab(24.59% -0.0004 -0.0621)
OKLCHoklch(24.59% 0.062 269.6)
XYZxyz(1.6427, 1.4356, 4.7470)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E3E #3E3515
analogous
#15333E #151E3E #21153E
triadic
#151E3E #3E151E #1E3E15
tetradic
#151E3E #3E1533 #3E3515 #153E21
square
#151E3E #3E1533 #3E3515 #153E21
split-complementary
#151E3E #3E2115 #333E15
monochromatic
#080B17 #080B17 #151E3E #24346C #344A99

Accessibility & contrast

On white

16.31
#151E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151E3E
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E3E#FFFFFF#000000##FFFFFF
##151E3E1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F223F
Deuteranopia (green-blind)
#0A1E3D
Tritanopia (blue-blind)
#00252A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151e3e;
/* rgb */ color: rgb(21, 30, 62);
/* oklch */ color: oklch(24.6% 0.062 269.6);
Tailwind
colors: {
  custom: {
    50: '#575973',
    500: '#151e3e',
    950: '#000000',
  },
}
SCSS
$custom: #151e3e;
$custom-light: #575973;
$custom-dark: #000000;
JSON
{
  "hex": "#151e3e",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 62
  },
  "hsl": {
    "h": 226.829,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24586,
    "c": 0.06208,
    "h": 269.6
  },
  "luminance": 0.01436
}

Semantic roles & 50–950 ramp

primary
#151E3E
secondary
#766839
accent
#BB4FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #151E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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