#151E43#151E43

#151E43 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.071 H 270.3°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#151E43
RGBrgb(21, 30, 67)
HSLhsl(228, 52%, 17%)
HSVhsv(228, 69%, 26%)
CMYKcmyk(68.7%, 55.2%, 0%, 73.7%)
CIE-LABlab(12.56, 9.81, -24.70)
CIE-LCHlch(12.56, 26.58, 291.67°)
OKLaboklab(24.99% 0.0004 -0.0706)
OKLCHoklch(24.99% 0.071 270.3)
XYZxyz(1.7863, 1.4931, 5.5032)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E43 #433A15
analogous
#153543 #151E43 #231543
triadic
#151E43 #43151E #1E4315
tetradic
#151E43 #431535 #433A15 #154323
square
#151E43 #431535 #433A15 #154323
split-complementary
#151E43 #432315 #354315
monochromatic
#070A17 #070A17 #151E43 #243372 #3248A0

Accessibility & contrast

On white

16.17
#151E43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151E43
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E43#FFFFFF#000000##FFFFFF
##151E431.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2344
Deuteranopia (green-blind)
#041F42
Tritanopia (blue-blind)
#00262D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151e43;
/* rgb */ color: rgb(21, 30, 67);
/* oklch */ color: oklch(25.0% 0.071 270.3);
Tailwind
colors: {
  custom: {
    50: '#585977',
    500: '#151e43',
    950: '#000000',
  },
}
SCSS
$custom: #151e43;
$custom-light: #585977;
$custom-dark: #000000;
JSON
{
  "hex": "#151e43",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 67
  },
  "hsl": {
    "h": 228.261,
    "s": 52.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24988,
    "c": 0.07064,
    "h": 270.3
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

primary
#151E43
secondary
#7B6E39
accent
#C04CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #151E43

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

Preview Lab → · Contrast checker → · Palette generator →

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