#151E55#151E55

#151E55 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.100 H 270.9°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#151E55
RGBrgb(21, 30, 85)
HSLhsl(232, 60%, 21%)
HSVhsv(232, 75%, 33%)
CMYKcmyk(75.3%, 64.7%, 0%, 66.7%)
CIE-LABlab(14.08, 17.29, -34.62)
CIE-LCHlch(14.08, 38.69, 296.54°)
OKLaboklab(26.61% 0.0015 -0.0998)
OKLCHoklch(26.61% 0.1 270.9)
XYZxyz(2.4127, 1.7436, 8.8020)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E55 #554C15
analogous
#153E55 #151E55 #2C1555
triadic
#151E55 #55151E #1E5515
tetradic
#151E55 #55153E #554C15 #15552C
square
#151E55 #55153E #554C15 #15552C
split-complementary
#151E55 #552C15 #3E5515
monochromatic
#060919 #090D24 #151E55 #212F86 #2D41B7

Accessibility & contrast

On white

15.57
#151E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151E55
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E55#FFFFFF#000000##FFFFFF
##151E551.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#002154
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #151e55;
/* rgb */ color: rgb(21, 30, 85);
/* oklch */ color: oklch(26.6% 0.100 270.9);
Tailwind
colors: {
  custom: {
    50: '#5c5985',
    500: '#151e55',
    950: '#000000',
  },
}
SCSS
$custom: #151e55;
$custom-light: #5c5985;
$custom-dark: #000000;
JSON
{
  "hex": "#151e55",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 85
  },
  "hsl": {
    "h": 231.563,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26605,
    "c": 0.09982,
    "h": 270.9
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#151E55
secondary
#8D8139
accent
#CD44E4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #151E55

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

Preview Lab → · Contrast checker → · Palette generator →

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