#181368#181368

#181368 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.140 H 274.2°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#181368
RGBrgb(24, 19, 104)
HSLhsl(244, 69%, 24%)
HSVhsv(244, 82%, 41%)
CMYKcmyk(76.9%, 81.7%, 0%, 59.2%)
CIE-LABlab(13.59, 32.35, -48.10)
CIE-LCHlch(13.59, 57.97, 303.93°)
OKLaboklab(26.91% 0.0103 -0.1391)
OKLCHoklch(26.91% 0.14 274.2)
XYZxyz(3.1074, 1.6591, 13.2505)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181368 #636813
analogous
#133968 #181368 #431368
triadic
#181368 #681813 #136818
tetradic
#181368 #681339 #636813 #136843
square
#181368 #681339 #636813 #136843
split-complementary
#181368 #684313 #396813
monochromatic
#06051A #0C0A34 #181368 #241C9C #3026CF

Accessibility & contrast

On white

15.77
#181368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#181368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181368
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181368#FFFFFF#000000##FFFFFF
##1813681.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#001F67
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #181368;
/* rgb */ color: rgb(24, 19, 104);
/* oklch */ color: oklch(26.9% 0.140 274.2);
Tailwind
colors: {
  custom: {
    50: '#645294',
    500: '#181368',
    950: '#000000',
  },
}
SCSS
$custom: #181368;
$custom-light: #645294;
$custom-dark: #000000;
JSON
{
  "hex": "#181368",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 243.529,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.26912,
    "c": 0.13951,
    "h": 274.2
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#181368
secondary
#999F37
accent
#EC3CE2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181368

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

Preview Lab → · Contrast checker → · Palette generator →

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