#151E44#151E44

#151E44 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.072 H 270.4°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#151E44
RGBrgb(21, 30, 68)
HSLhsl(229, 53%, 17%)
HSVhsv(229, 69%, 27%)
CMYKcmyk(69.1%, 55.9%, 0%, 73.3%)
CIE-LABlab(12.64, 10.23, -25.27)
CIE-LCHlch(12.64, 27.26, 292.04°)
OKLaboklab(25.07% 0.0005 -0.0723)
OKLCHoklch(25.07% 0.072 270.4)
XYZxyz(1.8166, 1.5052, 5.6625)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E44 #443B15
analogous
#153544 #151E44 #241544
triadic
#151E44 #44151E #1E4415
tetradic
#151E44 #441535 #443B15 #154424
square
#151E44 #441535 #443B15 #154424
split-complementary
#151E44 #442415 #354415
monochromatic
#070A17 #070A17 #151E44 #233373 #3247A2

Accessibility & contrast

On white

16.14
#151E44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151E44
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E44#FFFFFF#000000##FFFFFF
##151E441.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2345
Deuteranopia (green-blind)
#021F43
Tritanopia (blue-blind)
#00272D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151e44;
/* rgb */ color: rgb(21, 30, 68);
/* oklch */ color: oklch(25.1% 0.072 270.4);
Tailwind
colors: {
  custom: {
    50: '#585978',
    500: '#151e44',
    950: '#000000',
  },
}
SCSS
$custom: #151e44;
$custom-light: #585978;
$custom-dark: #000000;
JSON
{
  "hex": "#151e44",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 68
  },
  "hsl": {
    "h": 228.511,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25071,
    "c": 0.07233,
    "h": 270.4
  },
  "luminance": 0.01505
}

Semantic roles & 50–950 ramp

primary
#151E44
secondary
#7C6F39
accent
#C14CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #151E44

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

Preview Lab → · Contrast checker → · Palette generator →

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