#153175#153175

#153175 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.122 H 264.0°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#153175
RGBrgb(21, 49, 117)
HSLhsl(223, 70%, 27%)
HSVhsv(223, 82%, 46%)
CMYKcmyk(82.1%, 58.1%, 0%, 54.1%)
CIE-LABlab(22.44, 16.74, -42.01)
CIE-LCHlch(22.44, 45.22, 291.72°)
OKLaboklab(33.74% -0.0127 -0.1212)
OKLCHoklch(33.74% 0.122 264)
XYZxyz(4.6173, 3.6399, 17.2854)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153175 #755915
analogous
#156175 #153175 #291575
triadic
#153175 #751531 #317515
tetradic
#153175 #751561 #755915 #157529
square
#153175 #751561 #755915 #157529
split-complementary
#153175 #752915 #617515
monochromatic
#050B1A #0C1B41 #153175 #1E47A9 #2B5ED9

Accessibility & contrast

On white

12.15
#153175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#153175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153175
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153175#FFFFFF#000000##FFFFFF
##1531751.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #153175;
/* rgb */ color: rgb(21, 49, 117);
/* oklch */ color: oklch(33.7% 0.122 264.0);
Tailwind
colors: {
  custom: {
    50: '#64689d',
    500: '#153175',
    950: '#000000',
  },
}
SCSS
$custom: #153175;
$custom-light: #64689d;
$custom-dark: #000000;
JSON
{
  "hex": "#153175",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 222.5,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33742,
    "c": 0.1219,
    "h": 264
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#153175
secondary
#AB8A3B
accent
#B93BEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #153175

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

Preview Lab → · Contrast checker → · Palette generator →

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