#153275#153275

#153275 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.121 H 263.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#153275
RGBrgb(21, 50, 117)
HSLhsl(222, 70%, 27%)
HSVhsv(222, 82%, 46%)
CMYKcmyk(82.1%, 57.3%, 0%, 54.1%)
CIE-LABlab(22.74, 16.02, -41.53)
CIE-LCHlch(22.74, 44.51, 291.09°)
OKLaboklab(33.97% -0.0134 -0.1198)
OKLCHoklch(33.97% 0.121 263.6)
XYZxyz(4.6596, 3.7244, 17.2995)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153275 #755815
analogous
#156275 #153275 #281575
triadic
#153275 #751532 #327515
tetradic
#153275 #751562 #755815 #157528
square
#153275 #751562 #755815 #157528
split-complementary
#153275 #752815 #627515
monochromatic
#050B1A #0C1C41 #153275 #1E48A9 #2B60D9

Accessibility & contrast

On white

12.03
#153275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#153275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153275
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153275#FFFFFF#000000##FFFFFF
##1532751.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #153275;
/* rgb */ color: rgb(21, 50, 117);
/* oklch */ color: oklch(34.0% 0.121 263.6);
Tailwind
colors: {
  custom: {
    50: '#64699d',
    500: '#153275',
    950: '#000000',
  },
}
SCSS
$custom: #153275;
$custom-light: #64699d;
$custom-dark: #000000;
JSON
{
  "hex": "#153275",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 117
  },
  "hsl": {
    "h": 221.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33965,
    "c": 0.12056,
    "h": 263.6
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#153275
secondary
#AB893B
accent
#B73BEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #153275

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

Preview Lab → · Contrast checker → · Palette generator →

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