#153262#153262

#153262 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.092 H 259.9°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#153262
RGBrgb(21, 50, 98)
HSLhsl(217, 65%, 23%)
HSVhsv(217, 79%, 38%)
CMYKcmyk(78.6%, 49%, 0%, 61.6%)
CIE-LABlab(21.29, 8.01, -31.60)
CIE-LCHlch(21.29, 32.60, 284.23°)
OKLaboklab(32.4% -0.0161 -0.0906)
OKLCHoklch(32.4% 0.092 259.9)
XYZxyz(3.6537, 3.3221, 12.0016)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153262 #624515
analogous
#155862 #153262 #1F1562
triadic
#153262 #621532 #326215
tetradic
#153262 #621558 #624515 #15621F
square
#153262 #621558 #624515 #15621F
split-complementary
#153262 #621F15 #586215
monochromatic
#050D19 #0A1830 #153262 #204C94 #2B65C7

Accessibility & contrast

On white

12.62
#153262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#153262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153262
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153262#FFFFFF#000000##FFFFFF
##1532621.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193764
Deuteranopia (green-blind)
#083061
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #153262;
/* rgb */ color: rgb(21, 50, 98);
/* oklch */ color: oklch(32.4% 0.092 259.9);
Tailwind
colors: {
  custom: {
    50: '#5e698f',
    500: '#153262',
    950: '#000000',
  },
}
SCSS
$custom: #153262;
$custom-light: #5e698f;
$custom-dark: #000000;
JSON
{
  "hex": "#153262",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 217.403,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32399,
    "c": 0.09199,
    "h": 259.9
  },
  "luminance": 0.03322
}

Semantic roles & 50–950 ramp

primary
#153262
secondary
#99753A
accent
#A940E8
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #153262

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

Preview Lab → · Contrast checker → · Palette generator →

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