#151D61#151D61

#151D61 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.6% C 0.119 H 270.9°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#151D61
RGBrgb(21, 29, 97)
HSLhsl(234, 64%, 23%)
HSVhsv(234, 78%, 38%)
CMYKcmyk(78.4%, 70.1%, 0%, 62%)
CIE-LABlab(14.96, 22.90, -41.22)
CIE-LCHlch(14.96, 47.15, 299.05°)
OKLaboklab(27.61% 0.0018 -0.1192)
OKLCHoklch(27.61% 0.119 270.9)
XYZxyz(2.9056, 1.9009, 11.5207)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D61 #615915
analogous
#154361 #151D61 #331561
triadic
#151D61 #61151D #1D6115
tetradic
#151D61 #611543 #615915 #156133
square
#151D61 #611543 #615915 #156133
split-complementary
#151D61 #613315 #436115
monochromatic
#050819 #0A0E2F #151D61 #202C93 #2B3BC6

Accessibility & contrast

On white

15.22
#151D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#151D61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D61
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D61#FFFFFF#000000##FFFFFF
##151D611.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002260
Tritanopia (blue-blind)
#002F3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151d61;
/* rgb */ color: rgb(21, 29, 97);
/* oklch */ color: oklch(27.6% 0.119 270.9);
Tailwind
colors: {
  custom: {
    50: '#60598f',
    500: '#151d61',
    950: '#000000',
  },
}
SCSS
$custom: #151d61;
$custom-light: #60598f;
$custom-dark: #000000;
JSON
{
  "hex": "#151d61",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 97
  },
  "hsl": {
    "h": 233.684,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2761,
    "c": 0.11919,
    "h": 270.9
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#151D61
secondary
#988E3A
accent
#D640E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #151D61

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

Preview Lab → · Contrast checker → · Palette generator →

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