#181068#181068

#181068 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.142 H 274.7°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#181068
RGBrgb(24, 16, 104)
HSLhsl(245, 73%, 24%)
HSVhsv(245, 85%, 41%)
CMYKcmyk(76.9%, 84.6%, 0%, 59.2%)
CIE-LABlab(13.01, 34.02, -49.06)
CIE-LCHlch(13.01, 59.70, 304.74°)
OKLaboklab(26.51% 0.0116 -0.1419)
OKLCHoklch(26.51% 0.142 274.7)
XYZxyz(3.0598, 1.5639, 13.2346)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181068 #606810
analogous
#103468 #181068 #441068
triadic
#181068 #681810 #106818
tetradic
#181068 #681034 #606810 #106844
square
#181068 #681034 #606810 #106844
split-complementary
#181068 #684410 #346810
monochromatic
#06041B #0C0833 #181068 #24189D #3020D2

Accessibility & contrast

On white

16.00
#181068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#181068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181068
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181068#FFFFFF#000000##FFFFFF
##1810681.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00256A
Deuteranopia (green-blind)
#001D66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181068;
/* rgb */ color: rgb(24, 16, 104);
/* oklch */ color: oklch(26.5% 0.142 274.7);
Tailwind
colors: {
  custom: {
    50: '#645194',
    500: '#181068',
    950: '#000000',
  },
}
SCSS
$custom: #181068;
$custom-light: #645194;
$custom-dark: #000000;
JSON
{
  "hex": "#181068",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 245.455,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26509,
    "c": 0.14234,
    "h": 274.7
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#181068
secondary
#96A034
accent
#F038DF
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181068

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

Preview Lab → · Contrast checker → · Palette generator →

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