#152153#152153

#152153 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.092 H 269.2°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#152153
RGBrgb(21, 33, 83)
HSLhsl(228, 60%, 20%)
HSVhsv(228, 75%, 33%)
CMYKcmyk(74.7%, 60.2%, 0%, 67.5%)
CIE-LABlab(14.80, 14.22, -32.10)
CIE-LCHlch(14.80, 35.11, 293.90°)
OKLaboklab(27.09% -0.0014 -0.0924)
OKLCHoklch(27.09% 0.092 269.2)
XYZxyz(2.4139, 1.8714, 8.4159)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152153 #534715
analogous
#154053 #152153 #281553
triadic
#152153 #531521 #215315
tetradic
#152153 #531540 #534715 #155328
square
#152153 #531540 #534715 #155328
split-complementary
#152153 #532815 #405315
monochromatic
#060A18 #090E22 #152153 #213484 #2E48B5

Accessibility & contrast

On white

15.28
#152153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#152153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152153
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152153#FFFFFF#000000##FFFFFF
##1521531.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #152153;
/* rgb */ color: rgb(21, 33, 83);
/* oklch */ color: oklch(27.1% 0.092 269.2);
Tailwind
colors: {
  custom: {
    50: '#5c5b84',
    500: '#152153',
    950: '#000000',
  },
}
SCSS
$custom: #152153;
$custom-light: #5c5b84;
$custom-dark: #000000;
JSON
{
  "hex": "#152153",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 228.387,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27086,
    "c": 0.09237,
    "h": 269.2
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#152153
secondary
#8B7B39
accent
#C445E3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #152153

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

Preview Lab → · Contrast checker → · Palette generator →

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