#181064#181064

#181064 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.137 H 275.3°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#181064
RGBrgb(24, 16, 100)
HSLhsl(246, 72%, 23%)
HSVhsv(246, 84%, 39%)
CMYKcmyk(76%, 84%, 0%, 60.8%)
CIE-LABlab(12.51, 32.66, -47.24)
CIE-LCHlch(12.51, 57.43, 304.66°)
OKLaboklab(26.02% 0.0127 -0.1366)
OKLCHoklch(26.02% 0.137 275.3)
XYZxyz(2.8615, 1.4846, 12.1899)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181064 #5C6410
analogous
#103264 #181064 #421064
triadic
#181064 #641810 #106418
tetradic
#181064 #641032 #5C6410 #106442
square
#181064 #641032 #5C6410 #106442
split-complementary
#181064 #644210 #326410
monochromatic
#06041A #0B082F #181064 #251899 #3121CE

Accessibility & contrast

On white

16.19
#181064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#181064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181064
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181064#FFFFFF#000000##FFFFFF
##1810641.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002466
Deuteranopia (green-blind)
#001D63
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181064;
/* rgb */ color: rgb(24, 16, 100);
/* oklch */ color: oklch(26.0% 0.137 275.3);
Tailwind
colors: {
  custom: {
    50: '#635091',
    500: '#181064',
    950: '#000000',
  },
}
SCSS
$custom: #181064;
$custom-light: #635091;
$custom-dark: #000000;
JSON
{
  "hex": "#181064",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 245.714,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26016,
    "c": 0.13717,
    "h": 275.3
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#181064
secondary
#939D33
accent
#EF39DE
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181064

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

Preview Lab → · Contrast checker → · Palette generator →

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