#181362#181362

#181362 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.132 H 275.1°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#181362
RGBrgb(24, 19, 98)
HSLhsl(244, 68%, 23%)
HSVhsv(244, 81%, 38%)
CMYKcmyk(75.5%, 80.6%, 0%, 61.6%)
CIE-LABlab(12.87, 30.23, -45.31)
CIE-LCHlch(12.87, 54.47, 303.71°)
OKLaboklab(26.2% 0.0118 -0.131)
OKLCHoklch(26.2% 0.132 275.1)
XYZxyz(2.8134, 1.5415, 11.7022)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181362 #5D6213
analogous
#133662 #181362 #3F1362
triadic
#181362 #621813 #136218
tetradic
#181362 #621336 #5D6213 #13623F
square
#181362 #621336 #5D6213 #13623F
split-complementary
#181362 #623F13 #366213
monochromatic
#06051A #0B092F #181362 #251D95 #3127C9

Accessibility & contrast

On white

16.05
#181362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181362
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181362#FFFFFF#000000##FFFFFF
##1813621.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181362;
/* rgb */ color: rgb(24, 19, 98);
/* oklch */ color: oklch(26.2% 0.132 275.1);
Tailwind
colors: {
  custom: {
    50: '#625290',
    500: '#181362',
    950: '#000000',
  },
}
SCSS
$custom: #181362;
$custom-light: #625290;
$custom-dark: #000000;
JSON
{
  "hex": "#181362",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 243.797,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26197,
    "c": 0.13156,
    "h": 275.1
  },
  "luminance": 0.01542
}

Semantic roles & 50–950 ramp

primary
#181362
secondary
#939A37
accent
#EA3DDF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #181362

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

Preview Lab → · Contrast checker → · Palette generator →

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