#151F44#151F44

#151F44 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.3% C 0.071 H 269.4°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#151F44
RGBrgb(21, 31, 68)
HSLhsl(227, 53%, 17%)
HSVhsv(227, 69%, 27%)
CMYKcmyk(69.1%, 54.4%, 0%, 73.3%)
CIE-LABlab(12.96, 9.47, -24.75)
CIE-LCHlch(12.96, 26.50, 290.93°)
OKLaboklab(25.32% -0.0007 -0.0708)
OKLCHoklch(25.32% 0.071 269.4)
XYZxyz(1.8423, 1.5566, 5.6711)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F44 #443A15
analogous
#153744 #151F44 #231544
triadic
#151F44 #44151F #1F4415
tetradic
#151F44 #441537 #443A15 #154423
square
#151F44 #441537 #443A15 #154423
split-complementary
#151F44 #442315 #374415
monochromatic
#070B17 #070B17 #151F44 #233473 #324AA2

Accessibility & contrast

On white

16.01
#151F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#151F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151F44
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F44#FFFFFF#000000##FFFFFF
##151F441.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2445
Deuteranopia (green-blind)
#051F43
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151f44;
/* rgb */ color: rgb(21, 31, 68);
/* oklch */ color: oklch(25.3% 0.071 269.4);
Tailwind
colors: {
  custom: {
    50: '#585a78',
    500: '#151f44',
    950: '#000000',
  },
}
SCSS
$custom: #151f44;
$custom-light: #585a78;
$custom-dark: #000000;
JSON
{
  "hex": "#151f44",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 227.234,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25316,
    "c": 0.07079,
    "h": 269.4
  },
  "luminance": 0.01557
}

Semantic roles & 50–950 ramp

primary
#151F44
secondary
#7C6E39
accent
#BD4CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #151F44

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

Preview Lab → · Contrast checker → · Palette generator →

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