#182064#182064

#182064 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.7% C 0.119 H 271.4°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#182064
RGBrgb(24, 32, 100)
HSLhsl(234, 61%, 24%)
HSVhsv(234, 76%, 39%)
CMYKcmyk(76%, 68%, 0%, 60.8%)
CIE-LABlab(16.24, 22.36, -41.10)
CIE-LCHlch(16.24, 46.78, 298.55°)
OKLaboklab(28.69% 0.0029 -0.1187)
OKLCHoklch(28.69% 0.119 271.4)
XYZxyz(3.1927, 2.1470, 12.3003)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182064 #645C18
analogous
#184664 #182064 #361864
triadic
#182064 #641820 #206418
tetradic
#182064 #641846 #645C18 #186436
square
#182064 #641846 #645C18 #186436
split-complementary
#182064 #643618 #466418
monochromatic
#060819 #0C1033 #182064 #243095 #3040C7

Accessibility & contrast

On white

14.69
#182064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182064
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182064#FFFFFF#000000##FFFFFF
##1820641.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182064;
/* rgb */ color: rgb(24, 32, 100);
/* oklch */ color: oklch(28.7% 0.119 271.4);
Tailwind
colors: {
  custom: {
    50: '#615b91',
    500: '#182064',
    950: '#000000',
  },
}
SCSS
$custom: #182064;
$custom-light: #615b91;
$custom-dark: #000000;
JSON
{
  "hex": "#182064",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 100
  },
  "hsl": {
    "h": 233.684,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28688,
    "c": 0.11875,
    "h": 271.4
  },
  "luminance": 0.02147
}

Semantic roles & 50–950 ramp

primary
#182064
secondary
#9A903E
accent
#D343E4
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #182064

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

Preview Lab → · Contrast checker → · Palette generator →

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