#181964#181964

#181964 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.128 H 273.5°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#181964
RGBrgb(24, 25, 100)
HSLhsl(239, 61%, 24%)
HSVhsv(239, 76%, 39%)
CMYKcmyk(76%, 75%, 0%, 60.8%)
CIE-LABlab(14.45, 27.17, -44.03)
CIE-LCHlch(14.45, 51.74, 301.68°)
OKLaboklab(27.39% 0.0078 -0.1273)
OKLCHoklch(27.39% 0.128 273.5)
XYZxyz(3.0238, 1.8093, 12.2440)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181964 #646318
analogous
#183F64 #181964 #3D1864
triadic
#181964 #641819 #196418
tetradic
#181964 #64183F #646318 #18643D
square
#181964 #64183F #646318 #18643D
split-complementary
#181964 #643D18 #3F6418
monochromatic
#060619 #0C0D33 #181964 #242595 #3032C7

Accessibility & contrast

On white

15.42
#181964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#181964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181964
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181964#FFFFFF#000000##FFFFFF
##1819641.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002163
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181964;
/* rgb */ color: rgb(24, 25, 100);
/* oklch */ color: oklch(27.4% 0.128 273.5);
Tailwind
colors: {
  custom: {
    50: '#625691',
    500: '#181964',
    950: '#000000',
  },
}
SCSS
$custom: #181964;
$custom-light: #625691;
$custom-dark: #000000;
JSON
{
  "hex": "#181964",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 239.211,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27391,
    "c": 0.12757,
    "h": 273.5
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#181964
secondary
#9A993E
accent
#E243E4
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181964

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

Preview Lab → · Contrast checker → · Palette generator →

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