#153273#153273

#153273 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.118 H 263.3°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#153273
RGBrgb(21, 50, 115)
HSLhsl(221, 69%, 27%)
HSVhsv(221, 82%, 45%)
CMYKcmyk(81.7%, 56.5%, 0%, 54.9%)
CIE-LABlab(22.58, 15.18, -40.52)
CIE-LCHlch(22.58, 43.27, 290.54°)
OKLaboklab(33.79% -0.0136 -0.1168)
OKLCHoklch(33.79% 0.118 263.3)
XYZxyz(4.5433, 3.6779, 16.6868)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153273 #735615
analogous
#156173 #153273 #271573
triadic
#153273 #731532 #327315
tetradic
#153273 #731561 #735615 #157327
square
#153273 #731561 #735615 #157327
split-complementary
#153273 #732715 #617315
monochromatic
#050B1A #0C1C3F #153273 #1E49A7 #2A60D8

Accessibility & contrast

On white

12.10
#153273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#153273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153273
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153273#FFFFFF#000000##FFFFFF
##1532731.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #153273;
/* rgb */ color: rgb(21, 50, 115);
/* oklch */ color: oklch(33.8% 0.118 263.3);
Tailwind
colors: {
  custom: {
    50: '#63699c',
    500: '#153273',
    950: '#000000',
  },
}
SCSS
$custom: #153273;
$custom-light: #63699c;
$custom-dark: #000000;
JSON
{
  "hex": "#153273",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 221.489,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33791,
    "c": 0.11761,
    "h": 263.3
  },
  "luminance": 0.03678
}

Semantic roles & 50–950 ramp

primary
#153273
secondary
#A9873B
accent
#B63CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #153273

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

Preview Lab → · Contrast checker → · Palette generator →

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