#181960#181960

#181960 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.122 H 274.0°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#181960
RGBrgb(24, 25, 96)
HSLhsl(239, 60%, 24%)
HSVhsv(239, 75%, 38%)
CMYKcmyk(75%, 74%, 0%, 62.4%)
CIE-LABlab(14.02, 25.65, -42.08)
CIE-LCHlch(14.02, 49.29, 301.37°)
OKLaboklab(26.95% 0.0084 -0.1216)
OKLCHoklch(26.95% 0.122 274)
XYZxyz(2.8349, 1.7337, 11.2493)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181960 #605F18
analogous
#183D60 #181960 #3B1860
triadic
#181960 #601819 #196018
tetradic
#181960 #60183D #605F18 #18603B
square
#181960 #60183D #605F18 #18603B
split-complementary
#181960 #603B18 #3D6018
monochromatic
#060618 #0C0C2F #181960 #242691 #3032C2

Accessibility & contrast

On white

15.59
#181960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#181960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181960
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181960#FFFFFF#000000##FFFFFF
##1819601.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00205F
Tritanopia (blue-blind)
#002C3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181960;
/* rgb */ color: rgb(24, 25, 96);
/* oklch */ color: oklch(27.0% 0.122 274.0);
Tailwind
colors: {
  custom: {
    50: '#61568e',
    500: '#181960',
    950: '#000000',
  },
}
SCSS
$custom: #181960;
$custom-light: #61568e;
$custom-dark: #000000;
JSON
{
  "hex": "#181960",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 239.167,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26952,
    "c": 0.12193,
    "h": 274
  },
  "luminance": 0.01734
}

Semantic roles & 50–950 ramp

primary
#181960
secondary
#96953D
accent
#E145E3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #181960

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

Preview Lab → · Contrast checker → · Palette generator →

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