#181361#181361

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

Color values

HEX#181361
RGBrgb(24, 19, 97)
HSLhsl(244, 67%, 23%)
HSVhsv(244, 80%, 38%)
CMYKcmyk(75.3%, 80.4%, 0%, 62%)
CIE-LABlab(12.75, 29.87, -44.84)
CIE-LCHlch(12.75, 53.88, 303.67°)
OKLaboklab(26.08% 0.012 -0.1297)
OKLCHoklch(26.08% 0.13 275.3)
XYZxyz(2.7665, 1.5227, 11.4551)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181361 #5C6113
analogous
#133561 #181361 #3F1361
triadic
#181361 #611813 #136118
tetradic
#181361 #611335 #5C6113 #13613F
square
#181361 #611335 #5C6113 #13613F
split-complementary
#181361 #613F13 #356113
monochromatic
#06051A #0B092E #181361 #251D94 #3127C7

Accessibility & contrast

On white

16.10
#181361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181361
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181361#FFFFFF#000000##FFFFFF
##1813611.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002463
Deuteranopia (green-blind)
#001D60
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181361;
/* rgb */ color: rgb(24, 19, 97);
/* oklch */ color: oklch(26.1% 0.130 275.3);
Tailwind
colors: {
  custom: {
    50: '#62528f',
    500: '#181361',
    950: '#000000',
  },
}
SCSS
$custom: #181361;
$custom-light: #62528f;
$custom-dark: #000000;
JSON
{
  "hex": "#181361",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 243.846,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26079,
    "c": 0.13021,
    "h": 275.3
  },
  "luminance": 0.01523
}

Semantic roles & 50–950 ramp

primary
#181361
secondary
#939937
accent
#EA3EDF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #181361

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

Preview Lab → · Contrast checker → · Palette generator →

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