#152134#152134

#152134 is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.7% C 0.040 H 259.3°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#152134
RGBrgb(21, 33, 52)
HSLhsl(217, 42%, 14%)
HSVhsv(217, 60%, 20%)
CMYKcmyk(59.6%, 36.5%, 0%, 79.6%)
CIE-LABlab(12.58, 1.48, -14.07)
CIE-LCHlch(12.58, 14.15, 275.99°)
OKLaboklab(24.67% -0.0075 -0.0395)
OKLCHoklch(24.67% 0.04 259.3)
XYZxyz(1.4727, 1.4950, 3.4591)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152134 #342815
analogous
#153134 #152134 #191534
triadic
#152134 #341521 #213415
tetradic
#152134 #341531 #342815 #153419
square
#152134 #341531 #342815 #153419
split-complementary
#152134 #341915 #313415
monochromatic
#090E16 #090E16 #152134 #273D60 #38588B

Accessibility & contrast

On white

16.17
#152134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#152134 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152134
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152134#FFFFFF#000000##FFFFFF
##1521341.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2235
Deuteranopia (green-blind)
#161F34
Tritanopia (blue-blind)
#072528
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #152134;
/* rgb */ color: rgb(21, 33, 52);
/* oklch */ color: oklch(24.7% 0.040 259.3);
Tailwind
colors: {
  custom: {
    50: '#555c6b',
    500: '#152134',
    950: '#000000',
  },
}
SCSS
$custom: #152134;
$custom-light: #555c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#152134",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 52
  },
  "hsl": {
    "h": 216.774,
    "s": 42.466,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24671,
    "c": 0.04023,
    "h": 259.3
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#152134
secondary
#6B583A
accent
#A256D2
background
#F5F5F6
surface
#E8E9EB
border
#C4C5C6
text
#030406
muted
#78797A

Preview Lab

Preview with #152134

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

Preview Lab → · Contrast checker → · Palette generator →

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