#181050#181050

#181050 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.6% C 0.110 H 279.5°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#181050
RGBrgb(24, 16, 80)
HSLhsl(248, 67%, 19%)
HSVhsv(248, 80%, 31%)
CMYKcmyk(70%, 80%, 0%, 68.6%)
CIE-LABlab(10.14, 25.60, -37.65)
CIE-LCHlch(10.14, 45.53, 304.21°)
OKLaboklab(23.64% 0.0181 -0.1087)
OKLCHoklch(23.64% 0.11 279.5)
XYZxyz(2.0095, 1.1438, 7.7027)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181050 #485010
analogous
#102850 #181050 #381050
triadic
#181050 #501810 #105018
tetradic
#181050 #501028 #485010 #105038
square
#181050 #501028 #485010 #105038
split-complementary
#181050 #503810 #285010
monochromatic
#08051A #09061D #181050 #271A83 #3724B6

Accessibility & contrast

On white

17.09
#181050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#181050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181050
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181050#FFFFFF#000000##FFFFFF
##1810501.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E52
Deuteranopia (green-blind)
#00194F
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181050;
/* rgb */ color: rgb(24, 16, 80);
/* oklch */ color: oklch(23.6% 0.110 279.5);
Tailwind
colors: {
  custom: {
    50: '#5e4f82',
    500: '#181050',
    950: '#000000',
  },
}
SCSS
$custom: #181050;
$custom-light: #5e4f82;
$custom-dark: #000000;
JSON
{
  "hex": "#181050",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 247.5,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23643,
    "c": 0.11017,
    "h": 279.5
  },
  "luminance": 0.01144
}

Semantic roles & 50–950 ramp

primary
#181050
secondary
#7F8A32
accent
#EA3ED4
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020A
muted
#79787C

Preview Lab

Preview with #181050

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

Preview Lab → · Contrast checker → · Palette generator →

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