#153270#153270

#153270 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.113 H 262.9°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#153270
RGBrgb(21, 50, 112)
HSLhsl(221, 68%, 26%)
HSVhsv(221, 81%, 44%)
CMYKcmyk(81.2%, 55.4%, 0%, 56.1%)
CIE-LABlab(22.34, 13.92, -38.98)
CIE-LCHlch(22.34, 41.39, 289.65°)
OKLaboklab(33.53% -0.0139 -0.1123)
OKLCHoklch(33.53% 0.113 262.9)
XYZxyz(4.3734, 3.6100, 15.7924)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153270 #705315
analogous
#155F70 #153270 #251570
triadic
#153270 #701532 #327015
tetradic
#153270 #70155F #705315 #157025
square
#153270 #70155F #705315 #157025
split-complementary
#153270 #702515 #5F7015
monochromatic
#050C1A #0B1B3C #153270 #1F49A4 #2960D7

Accessibility & contrast

On white

12.20
#153270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#153270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153270
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153270#FFFFFF#000000##FFFFFF
##1532701.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053A72
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #153270;
/* rgb */ color: rgb(21, 50, 112);
/* oklch */ color: oklch(33.5% 0.113 262.9);
Tailwind
colors: {
  custom: {
    50: '#62699a',
    500: '#153270',
    950: '#000000',
  },
}
SCSS
$custom: #153270;
$custom-light: #62699a;
$custom-dark: #000000;
JSON
{
  "hex": "#153270",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 112
  },
  "hsl": {
    "h": 220.879,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33534,
    "c": 0.11317,
    "h": 262.9
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#153270
secondary
#A6843B
accent
#B43DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #153270

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

Preview Lab → · Contrast checker → · Palette generator →

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