#182164#182164

#182164 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.117 H 271.0°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#182164
RGBrgb(24, 33, 100)
HSLhsl(233, 61%, 24%)
HSVhsv(233, 76%, 39%)
CMYKcmyk(76%, 67%, 0%, 60.8%)
CIE-LABlab(16.51, 21.65, -40.65)
CIE-LCHlch(16.51, 46.06, 298.04°)
OKLaboklab(28.89% 0.0021 -0.1174)
OKLCHoklch(28.89% 0.117 271)
XYZxyz(3.2200, 2.2017, 12.3094)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182164 #645B18
analogous
#184764 #182164 #351864
triadic
#182164 #641821 #216418
tetradic
#182164 #641847 #645B18 #186435
square
#182164 #641847 #645B18 #186435
split-complementary
#182164 #643518 #476418
monochromatic
#060819 #0C1133 #182164 #243195 #3042C7

Accessibility & contrast

On white

14.58
#182164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#182164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182164
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182164#FFFFFF#000000##FFFFFF
##1821641.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #182164;
/* rgb */ color: rgb(24, 33, 100);
/* oklch */ color: oklch(28.9% 0.117 271.0);
Tailwind
colors: {
  custom: {
    50: '#615c91',
    500: '#182164',
    950: '#000000',
  },
}
SCSS
$custom: #182164;
$custom-light: #615c91;
$custom-dark: #000000;
JSON
{
  "hex": "#182164",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 232.895,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28888,
    "c": 0.11743,
    "h": 271
  },
  "luminance": 0.02202
}

Semantic roles & 50–950 ramp

primary
#182164
secondary
#9A8F3E
accent
#D143E4
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #182164

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

Preview Lab → · Contrast checker → · Palette generator →

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