#151F3E#151F3E

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

Color values

HEX#151F3E
RGBrgb(21, 31, 62)
HSLhsl(225, 49%, 16%)
HSVhsv(225, 66%, 24%)
CMYKcmyk(66.1%, 50%, 0%, 75.7%)
CIE-LABlab(12.53, 6.99, -21.25)
CIE-LCHlch(12.53, 22.37, 288.21°)
OKLaboklab(24.84% -0.0018 -0.0605)
OKLCHoklch(24.84% 0.061 268.3)
XYZxyz(1.6685, 1.4871, 4.7556)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F3E #3E3415
analogous
#15343E #151F3E #20153E
triadic
#151F3E #3E151F #1F3E15
tetradic
#151F3E #3E1534 #3E3415 #153E20
square
#151F3E #3E1534 #3E3415 #153E20
split-complementary
#151F3E #3E2015 #343E15
monochromatic
#080B17 #080B17 #151F3E #24366C #344D99

Accessibility & contrast

On white

16.19
#151F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#151F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151F3E
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F3E#FFFFFF#000000##FFFFFF
##151F3E1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11233F
Deuteranopia (green-blind)
#0C1F3D
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151f3e;
/* rgb */ color: rgb(21, 31, 62);
/* oklch */ color: oklch(24.8% 0.061 268.3);
Tailwind
colors: {
  custom: {
    50: '#575a73',
    500: '#151f3e',
    950: '#000000',
  },
}
SCSS
$custom: #151f3e;
$custom-light: #575a73;
$custom-dark: #000000;
JSON
{
  "hex": "#151f3e",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 62
  },
  "hsl": {
    "h": 225.366,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2484,
    "c": 0.06053,
    "h": 268.3
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#151F3E
secondary
#766739
accent
#B74FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #151F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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