#152160#152160

#152160 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.112 H 269.4°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#152160
RGBrgb(21, 33, 96)
HSLhsl(230, 64%, 23%)
HSVhsv(230, 78%, 38%)
CMYKcmyk(78.1%, 65.6%, 0%, 62.4%)
CIE-LABlab(15.96, 19.62, -38.92)
CIE-LCHlch(15.96, 43.58, 296.75°)
OKLaboklab(28.32% -0.0011 -0.1124)
OKLCHoklch(28.32% 0.112 269.4)
XYZxyz(2.9637, 2.0914, 11.3115)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152160 #605415
analogous
#154660 #152160 #2E1560
triadic
#152160 #601521 #216015
tetradic
#152160 #601546 #605415 #15602E
square
#152160 #601546 #605415 #15602E
split-complementary
#152160 #602E15 #466015
monochromatic
#050919 #0A102E #152160 #203292 #2B44C4

Accessibility & contrast

On white

14.81
#152160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#152160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152160
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152160#FFFFFF#000000##FFFFFF
##1521601.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#00245F
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #152160;
/* rgb */ color: rgb(21, 33, 96);
/* oklch */ color: oklch(28.3% 0.112 269.4);
Tailwind
colors: {
  custom: {
    50: '#5f5c8e',
    500: '#152160',
    950: '#000000',
  },
}
SCSS
$custom: #152160;
$custom-light: #5f5c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#152160",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 230.4,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28316,
    "c": 0.11241,
    "h": 269.4
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#152160
secondary
#97883A
accent
#CC41E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #152160

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

Preview Lab → · Contrast checker → · Palette generator →

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