#151D43#151D43

#151D43 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.072 H 271.3°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#151D43
RGBrgb(21, 29, 67)
HSLhsl(230, 52%, 17%)
HSVhsv(230, 69%, 26%)
CMYKcmyk(68.7%, 56.7%, 0%, 73.7%)
CIE-LABlab(12.24, 10.58, -25.21)
CIE-LCHlch(12.24, 27.34, 292.76°)
OKLaboklab(24.74% 0.0016 -0.0722)
OKLCHoklch(24.74% 0.072 271.3)
XYZxyz(1.7614, 1.4433, 5.4949)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D43 #433B15
analogous
#153443 #151D43 #241543
triadic
#151D43 #43151D #1D4315
tetradic
#151D43 #431534 #433B15 #154324
square
#151D43 #431534 #433B15 #154324
split-complementary
#151D43 #432415 #344315
monochromatic
#070A17 #070A17 #151D43 #243172 #3245A0

Accessibility & contrast

On white

16.30
#151D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D43
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D43#FFFFFF#000000##FFFFFF
##151D431.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082244
Deuteranopia (green-blind)
#021E42
Tritanopia (blue-blind)
#00262C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151d43;
/* rgb */ color: rgb(21, 29, 67);
/* oklch */ color: oklch(24.7% 0.072 271.3);
Tailwind
colors: {
  custom: {
    50: '#585877',
    500: '#151d43',
    950: '#000000',
  },
}
SCSS
$custom: #151d43;
$custom-light: #585877;
$custom-dark: #000000;
JSON
{
  "hex": "#151d43",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 67
  },
  "hsl": {
    "h": 229.565,
    "s": 52.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24744,
    "c": 0.0722,
    "h": 271.3
  },
  "luminance": 0.01443
}

Semantic roles & 50–950 ramp

primary
#151D43
secondary
#7B6F39
accent
#C34CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #151D43

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

Preview Lab → · Contrast checker → · Palette generator →

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