#151E56#151E56

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

Color values

HEX#151E56
RGBrgb(21, 30, 86)
HSLhsl(232, 61%, 21%)
HSVhsv(232, 76%, 34%)
CMYKcmyk(75.6%, 65.1%, 0%, 66.3%)
CIE-LABlab(14.17, 17.70, -35.14)
CIE-LCHlch(14.17, 39.35, 296.74°)
OKLaboklab(26.7% 0.0015 -0.1014)
OKLCHoklch(26.7% 0.101 270.9)
XYZxyz(2.4527, 1.7596, 9.0127)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E56 #564D15
analogous
#153E56 #151E56 #2C1556
triadic
#151E56 #56151E #1E5615
tetradic
#151E56 #56153E #564D15 #15562C
square
#151E56 #56153E #564D15 #15562C
split-complementary
#151E56 #562C15 #3E5615
monochromatic
#060919 #090D25 #151E56 #212F87 #2D40B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##151E56#FFFFFF#000000##FFFFFF
##151E561.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)
#002758
Deuteranopia (green-blind)
#002155
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #151e56;
/* rgb */ color: rgb(21, 30, 86);
/* oklch */ color: oklch(26.7% 0.101 270.9);
Tailwind
colors: {
  custom: {
    50: '#5d5986',
    500: '#151e56',
    950: '#000000',
  },
}
SCSS
$custom: #151e56;
$custom-light: #5d5986;
$custom-dark: #000000;
JSON
{
  "hex": "#151e56",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 231.692,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26702,
    "c": 0.10137,
    "h": 270.9
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#151E56
secondary
#8E8239
accent
#CE44E4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #151E56

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

Preview Lab → · Contrast checker → · Palette generator →

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