#153162#153162

#153162 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.093 H 260.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#153162
RGBrgb(21, 49, 98)
HSLhsl(218, 65%, 23%)
HSVhsv(218, 79%, 38%)
CMYKcmyk(78.6%, 50%, 0%, 61.6%)
CIE-LABlab(20.97, 8.73, -32.11)
CIE-LCHlch(20.97, 33.28, 285.22°)
OKLaboklab(32.15% -0.0151 -0.0921)
OKLCHoklch(32.15% 0.093 260.7)
XYZxyz(3.6114, 3.2375, 11.9875)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153162 #624615
analogous
#155762 #153162 #1F1562
triadic
#153162 #621531 #316215
tetradic
#153162 #621557 #624615 #15621F
square
#153162 #621557 #624615 #15621F
split-complementary
#153162 #621F15 #576215
monochromatic
#050D19 #0A1830 #153162 #204A94 #2B63C7

Accessibility & contrast

On white

12.75
#153162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#153162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153162
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153162#FFFFFF#000000##FFFFFF
##1531621.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173664
Deuteranopia (green-blind)
#042F61
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #153162;
/* rgb */ color: rgb(21, 49, 98);
/* oklch */ color: oklch(32.2% 0.093 260.7);
Tailwind
colors: {
  custom: {
    50: '#5e688f',
    500: '#153162',
    950: '#000000',
  },
}
SCSS
$custom: #153162;
$custom-light: #5e688f;
$custom-dark: #000000;
JSON
{
  "hex": "#153162",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 218.182,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32153,
    "c": 0.09334,
    "h": 260.7
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#153162
secondary
#99763A
accent
#AB40E8
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #153162

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

Preview Lab → · Contrast checker → · Palette generator →

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