#151A47#151A47

#151A47 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.4% C 0.083 H 273.7°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#151A47
RGBrgb(21, 26, 71)
HSLhsl(234, 54%, 18%)
HSVhsv(234, 70%, 28%)
CMYKcmyk(70.4%, 63.4%, 0%, 72.2%)
CIE-LABlab(11.64, 14.52, -28.98)
CIE-LCHlch(11.64, 32.41, 296.61°)
OKLaboklab(24.4% 0.0054 -0.0833)
OKLCHoklch(24.4% 0.083 273.7)
XYZxyz(1.8156, 1.3530, 6.1255)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A47 #474215
analogous
#153347 #151A47 #291547
triadic
#151A47 #47151A #1A4715
tetradic
#151A47 #471533 #474215 #154729
square
#151A47 #471533 #474215 #154729
split-complementary
#151A47 #472915 #334715
monochromatic
#070918 #070918 #151A47 #232B76 #313DA5

Accessibility & contrast

On white

16.53
#151A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#151A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A47
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A47#FFFFFF#000000##FFFFFF
##151A471.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151a47;
/* rgb */ color: rgb(21, 26, 71);
/* oklch */ color: oklch(24.4% 0.083 273.7);
Tailwind
colors: {
  custom: {
    50: '#59567b',
    500: '#151a47',
    950: '#000000',
  },
}
SCSS
$custom: #151a47;
$custom-light: #59567b;
$custom-dark: #000000;
JSON
{
  "hex": "#151a47",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 234,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24398,
    "c": 0.08346,
    "h": 273.7
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

primary
#151A47
secondary
#7F7839
accent
#CF4ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #151A47

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

Preview Lab → · Contrast checker → · Palette generator →

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