#152073#152073

#152073 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.141 H 269.3°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#152073
RGBrgb(21, 32, 115)
HSLhsl(233, 69%, 27%)
HSVhsv(233, 82%, 45%)
CMYKcmyk(81.7%, 72.2%, 0%, 54.9%)
CIE-LABlab(17.60, 27.92, -48.65)
CIE-LCHlch(17.60, 56.10, 299.85°)
OKLaboklab(30.1% -0.0017 -0.1409)
OKLCHoklch(30.1% 0.141 269.3)
XYZxyz(3.9192, 2.4298, 16.4788)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152073 #736815
analogous
#154F73 #152073 #391573
triadic
#152073 #731520 #207315
tetradic
#152073 #73154F #736815 #157339
square
#152073 #73154F #736815 #157339
split-complementary
#152073 #733915 #4F7315
monochromatic
#05071A #0C123F #152073 #1E2EA7 #2A3FD8

Accessibility & contrast

On white

14.13
#152073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#152073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152073
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152073#FFFFFF#000000##FFFFFF
##1520731.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002771
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152073;
/* rgb */ color: rgb(21, 32, 115);
/* oklch */ color: oklch(30.1% 0.141 269.3);
Tailwind
colors: {
  custom: {
    50: '#655b9c',
    500: '#152073',
    950: '#000000',
  },
}
SCSS
$custom: #152073;
$custom-light: #655b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#152073",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 232.979,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30097,
    "c": 0.1409,
    "h": 269.3
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#152073
secondary
#A99C3B
accent
#D73CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #152073

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

Preview Lab → · Contrast checker → · Palette generator →

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