#151C50#151C50

#151C50 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.095 H 272.1°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#151C50
RGBrgb(21, 28, 80)
HSLhsl(233, 58%, 20%)
HSVhsv(233, 74%, 31%)
CMYKcmyk(73.7%, 65%, 0%, 68.6%)
CIE-LABlab(13.04, 16.72, -32.91)
CIE-LCHlch(13.04, 36.91, 296.93°)
OKLaboklab(25.69% 0.0034 -0.0948)
OKLCHoklch(25.69% 0.095 272.1)
XYZxyz(2.1720, 1.5689, 7.7762)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C50 #504915
analogous
#153A50 #151C50 #2B1550
triadic
#151C50 #50151C #1C5015
tetradic
#151C50 #50153A #504915 #15502B
square
#151C50 #50153A #504915 #15502B
split-complementary
#151C50 #502B15 #3A5015
monochromatic
#060818 #080B20 #151C50 #222D80 #2E3EB1

Accessibility & contrast

On white

15.98
#151C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C50
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C50#FFFFFF#000000##FFFFFF
##151C501.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #151c50;
/* rgb */ color: rgb(21, 28, 80);
/* oklch */ color: oklch(25.7% 0.095 272.1);
Tailwind
colors: {
  custom: {
    50: '#5b5882',
    500: '#151c50',
    950: '#000000',
  },
}
SCSS
$custom: #151c50;
$custom-light: #5b5882;
$custom-dark: #000000;
JSON
{
  "hex": "#151c50",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 232.881,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25691,
    "c": 0.09489,
    "h": 272.1
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#151C50
secondary
#887E39
accent
#CF46E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #151C50

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

Preview Lab → · Contrast checker → · Palette generator →

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