#182160#182160

#182160 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.111 H 271.2°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#182160
RGBrgb(24, 33, 96)
HSLhsl(233, 60%, 24%)
HSVhsv(233, 75%, 38%)
CMYKcmyk(75%, 65.6%, 0%, 62.4%)
CIE-LABlab(16.14, 20.04, -38.62)
CIE-LCHlch(16.14, 43.51, 297.43°)
OKLaboklab(28.49% 0.0023 -0.1115)
OKLCHoklch(28.49% 0.111 271.2)
XYZxyz(3.0311, 2.1261, 11.3147)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182160 #605718
analogous
#184560 #182160 #331860
triadic
#182160 #601821 #216018
tetradic
#182160 #601845 #605718 #186033
square
#182160 #601845 #605718 #186033
split-complementary
#182160 #603318 #456018
monochromatic
#060818 #0C102F #182160 #243291 #3043C2

Accessibility & contrast

On white

14.73
#182160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#182160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182160
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182160#FFFFFF#000000##FFFFFF
##1821601.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182160;
/* rgb */ color: rgb(24, 33, 96);
/* oklch */ color: oklch(28.5% 0.111 271.2);
Tailwind
colors: {
  custom: {
    50: '#605c8e',
    500: '#182160',
    950: '#000000',
  },
}
SCSS
$custom: #182160;
$custom-light: #605c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#182160",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 232.5,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28494,
    "c": 0.11148,
    "h": 271.2
  },
  "luminance": 0.02126
}

Semantic roles & 50–950 ramp

primary
#182160
secondary
#968B3D
accent
#CF45E3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #182160

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

Preview Lab → · Contrast checker → · Palette generator →

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