#181350#181350

#181350 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.106 H 278.5°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#181350
RGBrgb(24, 19, 80)
HSLhsl(245, 62%, 19%)
HSVhsv(245, 76%, 31%)
CMYKcmyk(70%, 76.3%, 0%, 68.6%)
CIE-LABlab(10.84, 23.64, -36.49)
CIE-LCHlch(10.84, 43.48, 302.94°)
OKLaboklab(24.15% 0.0157 -0.1053)
OKLCHoklch(24.15% 0.106 278.5)
XYZxyz(2.0571, 1.2390, 7.7186)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181350 #4B5013
analogous
#132D50 #181350 #371350
triadic
#181350 #501813 #135018
tetradic
#181350 #50132D #4B5013 #135037
square
#181350 #50132D #4B5013 #135037
split-complementary
#181350 #503713 #2D5013
monochromatic
#070619 #09071F #181350 #271F81 #362AB3

Accessibility & contrast

On white

16.83
#181350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#181350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181350
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181350#FFFFFF#000000##FFFFFF
##1813501.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#001B4F
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #181350;
/* rgb */ color: rgb(24, 19, 80);
/* oklch */ color: oklch(24.1% 0.106 278.5);
Tailwind
colors: {
  custom: {
    50: '#5e5182',
    500: '#181350',
    950: '#000000',
  },
}
SCSS
$custom: #181350;
$custom-light: #5e5182;
$custom-dark: #000000;
JSON
{
  "hex": "#181350",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 244.918,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24146,
    "c": 0.10646,
    "h": 278.5
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#181350
secondary
#828936
accent
#E543D7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020A
muted
#79787C

Preview Lab

Preview with #181350

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

Preview Lab → · Contrast checker → · Palette generator →

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