#152159#152159

#152159 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.102 H 269.4°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#152159
RGBrgb(21, 33, 89)
HSLhsl(229, 62%, 22%)
HSVhsv(229, 76%, 35%)
CMYKcmyk(76.4%, 62.9%, 0%, 65.1%)
CIE-LABlab(15.32, 16.73, -35.29)
CIE-LCHlch(15.32, 39.06, 295.36°)
OKLaboklab(27.64% -0.0011 -0.1018)
OKLCHoklch(27.64% 0.102 269.4)
XYZxyz(2.6557, 1.9681, 9.6892)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152159 #594D15
analogous
#154359 #152159 #2B1559
triadic
#152159 #591521 #215915
tetradic
#152159 #591543 #594D15 #15592B
square
#152159 #591543 #594D15 #15592B
split-complementary
#152159 #592B15 #435915
monochromatic
#060919 #090F27 #152159 #21338B #2C46BC

Accessibility & contrast

On white

15.07
#152159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#152159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152159
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152159#FFFFFF#000000##FFFFFF
##1521591.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#002358
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152159;
/* rgb */ color: rgb(21, 33, 89);
/* oklch */ color: oklch(27.6% 0.102 269.4);
Tailwind
colors: {
  custom: {
    50: '#5d5b88',
    500: '#152159',
    950: '#000000',
  },
}
SCSS
$custom: #152159;
$custom-light: #5d5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#152159",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 229.412,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.27641,
    "c": 0.10177,
    "h": 269.4
  },
  "luminance": 0.01968
}

Semantic roles & 50–950 ramp

primary
#152159
secondary
#918139
accent
#C843E5
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #152159

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

Preview Lab → · Contrast checker → · Palette generator →

#152159 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva