#181750#181750

#181750 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.101 H 276.9°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#181750
RGBrgb(24, 23, 80)
HSLhsl(241, 55%, 20%)
HSVhsv(241, 71%, 31%)
CMYKcmyk(70%, 71.2%, 0%, 68.6%)
CIE-LABlab(11.86, 20.88, -34.82)
CIE-LCHlch(11.86, 40.60, 300.95°)
OKLaboklab(24.89% 0.0121 -0.1004)
OKLCHoklch(24.89% 0.101 276.9)
XYZxyz(2.1306, 1.3860, 7.7431)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181750 #4F5017
analogous
#173250 #181750 #351750
triadic
#181750 #501817 #175018
tetradic
#181750 #501732 #4F5017 #175035
square
#181750 #501732 #4F5017 #175035
split-complementary
#181750 #503517 #325017
monochromatic
#070718 #0A0920 #181750 #262580 #3532AF

Accessibility & contrast

On white

16.44
#181750 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#181750 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181750
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181750#FFFFFF#000000##FFFFFF
##1817501.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#001D4F
Tritanopia (blue-blind)
#002631
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181750;
/* rgb */ color: rgb(24, 23, 80);
/* oklch */ color: oklch(24.9% 0.101 276.9);
Tailwind
colors: {
  custom: {
    50: '#5d5482',
    500: '#181750',
    950: '#000000',
  },
}
SCSS
$custom: #181750;
$custom-light: #5d5482;
$custom-dark: #000000;
JSON
{
  "hex": "#181750",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 80
  },
  "hsl": {
    "h": 241.053,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24885,
    "c": 0.10111,
    "h": 276.9
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#181750
secondary
#86873C
accent
#DF49DC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020A
muted
#79787C

Preview Lab

Preview with #181750

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

Preview Lab → · Contrast checker → · Palette generator →

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