#181366#181366

#181366 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.137 H 274.5°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#181366
RGBrgb(24, 19, 102)
HSLhsl(244, 69%, 24%)
HSVhsv(244, 81%, 40%)
CMYKcmyk(76.5%, 81.4%, 0%, 60%)
CIE-LABlab(13.34, 31.65, -47.18)
CIE-LCHlch(13.34, 56.81, 303.86°)
OKLaboklab(26.67% 0.0108 -0.1365)
OKLCHoklch(26.67% 0.137 274.5)
XYZxyz(3.0070, 1.6189, 12.7218)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181366 #616613
analogous
#133766 #181366 #411366
triadic
#181366 #661813 #136618
tetradic
#181366 #661337 #616613 #136641
square
#181366 #661337 #616613 #136641
split-complementary
#181366 #664113 #376613
monochromatic
#06051A #0C0932 #181366 #241D9A #3026CD

Accessibility & contrast

On white

15.86
#181366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#181366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181366
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181366#FFFFFF#000000##FFFFFF
##1813661.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002668
Deuteranopia (green-blind)
#001E65
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181366;
/* rgb */ color: rgb(24, 19, 102);
/* oklch */ color: oklch(26.7% 0.137 274.5);
Tailwind
colors: {
  custom: {
    50: '#635293',
    500: '#181366',
    950: '#000000',
  },
}
SCSS
$custom: #181366;
$custom-light: #635293;
$custom-dark: #000000;
JSON
{
  "hex": "#181366",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 243.614,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26672,
    "c": 0.13689,
    "h": 274.5
  },
  "luminance": 0.01619
}

Semantic roles & 50–950 ramp

primary
#181366
secondary
#979D37
accent
#EB3CE1
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181366

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

Preview Lab → · Contrast checker → · Palette generator →

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