#151D59#151D59

#151D59 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.107 H 271.2°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#151D59
RGBrgb(21, 29, 89)
HSLhsl(233, 62%, 22%)
HSVhsv(233, 76%, 35%)
CMYKcmyk(76.4%, 67.4%, 0%, 65.1%)
CIE-LABlab(14.17, 19.67, -37.17)
CIE-LCHlch(14.17, 42.05, 297.88°)
OKLaboklab(26.79% 0.0023 -0.1073)
OKLCHoklch(26.79% 0.107 271.2)
XYZxyz(2.5512, 1.7592, 9.6544)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D59 #595115
analogous
#153F59 #151D59 #2F1559
triadic
#151D59 #59151D #1D5915
tetradic
#151D59 #59153F #595115 #15592F
square
#151D59 #59153F #595115 #15592F
split-complementary
#151D59 #592F15 #3F5915
monochromatic
#060819 #090D27 #151D59 #212D8B #2C3DBC

Accessibility & contrast

On white

15.53
#151D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#151D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D59
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D59#FFFFFF#000000##FFFFFF
##151D591.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002158
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #151d59;
/* rgb */ color: rgb(21, 29, 89);
/* oklch */ color: oklch(26.8% 0.107 271.2);
Tailwind
colors: {
  custom: {
    50: '#5e5889',
    500: '#151d59',
    950: '#000000',
  },
}
SCSS
$custom: #151d59;
$custom-light: #5e5889;
$custom-dark: #000000;
JSON
{
  "hex": "#151d59",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 89
  },
  "hsl": {
    "h": 232.941,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26788,
    "c": 0.10734,
    "h": 271.2
  },
  "luminance": 0.01759
}

Semantic roles & 50–950 ramp

primary
#151D59
secondary
#918639
accent
#D243E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #151D59

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

Preview Lab → · Contrast checker → · Palette generator →

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