#151B59#151B59

#151B59 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.110 H 272.0°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#151B59
RGBrgb(21, 27, 89)
HSLhsl(235, 62%, 22%)
HSVhsv(235, 76%, 35%)
CMYKcmyk(76.4%, 69.7%, 0%, 65.1%)
CIE-LABlab(13.62, 21.12, -38.07)
CIE-LCHlch(13.62, 43.54, 299.01°)
OKLaboklab(26.38% 0.0039 -0.11)
OKLCHoklch(26.38% 0.11 272)
XYZxyz(2.5038, 1.6643, 9.6386)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B59 #595315
analogous
#153D59 #151B59 #311559
triadic
#151B59 #59151B #1B5915
tetradic
#151B59 #59153D #595315 #155931
square
#151B59 #59153D #595315 #155931
split-complementary
#151B59 #593115 #3D5915
monochromatic
#060819 #090C27 #151B59 #212A8B #2C39BC

Accessibility & contrast

On white

15.75
#151B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#151B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B59
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B59#FFFFFF#000000##FFFFFF
##151B591.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002058
Tritanopia (blue-blind)
#002B37
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #151b59;
/* rgb */ color: rgb(21, 27, 89);
/* oklch */ color: oklch(26.4% 0.110 272.0);
Tailwind
colors: {
  custom: {
    50: '#5e5789',
    500: '#151b59',
    950: '#000000',
  },
}
SCSS
$custom: #151b59;
$custom-light: #5e5789;
$custom-dark: #000000;
JSON
{
  "hex": "#151b59",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 234.706,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26382,
    "c": 0.11005,
    "h": 272
  },
  "luminance": 0.01665
}

Semantic roles & 50–950 ramp

primary
#151B59
secondary
#918939
accent
#D743E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #151B59

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

Preview Lab → · Contrast checker → · Palette generator →

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