#151C4E#151C4E

#151C4E is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.092 H 272.1°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#151C4E
RGBrgb(21, 28, 78)
HSLhsl(233, 58%, 19%)
HSVhsv(233, 73%, 31%)
CMYKcmyk(73.1%, 64.1%, 0%, 69.4%)
CIE-LABlab(12.86, 15.89, -31.84)
CIE-LCHlch(12.86, 35.58, 296.53°)
OKLaboklab(25.5% 0.0034 -0.0917)
OKLCHoklch(25.5% 0.092 272.1)
XYZxyz(2.0992, 1.5398, 7.3928)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C4E #4E4715
analogous
#15394E #151C4E #2B154E
triadic
#151C4E #4E151C #1C4E15
tetradic
#151C4E #4E1539 #4E4715 #154E2B
square
#151C4E #4E1539 #4E4715 #154E2B
split-complementary
#151C4E #4E2B15 #394E15
monochromatic
#060918 #080B1E #151C4E #222D7E #2F3FAE

Accessibility & contrast

On white

16.06
#151C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C4E
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C4E#FFFFFF#000000##FFFFFF
##151C4E1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#001F4D
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151c4e;
/* rgb */ color: rgb(21, 28, 78);
/* oklch */ color: oklch(25.5% 0.092 272.1);
Tailwind
colors: {
  custom: {
    50: '#5b5780',
    500: '#151c4e',
    950: '#000000',
  },
}
SCSS
$custom: #151c4e;
$custom-light: #5b5780;
$custom-dark: #000000;
JSON
{
  "hex": "#151c4e",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 232.632,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.255,
    "c": 0.09173,
    "h": 272.1
  },
  "luminance": 0.0154
}

Semantic roles & 50–950 ramp

primary
#151C4E
secondary
#867C39
accent
#CE47E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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