#181950#181950

#181950 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.098 H 276.0°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#181950
RGBrgb(24, 25, 80)
HSLhsl(239, 54%, 20%)
HSVhsv(239, 70%, 31%)
CMYKcmyk(70%, 68.8%, 0%, 68.6%)
CIE-LABlab(12.41, 19.44, -33.93)
CIE-LCHlch(12.41, 39.11, 299.81°)
OKLaboklab(25.28% 0.0102 -0.0978)
OKLCHoklch(25.28% 0.098 276)
XYZxyz(2.1718, 1.4685, 7.7569)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181950 #504F18
analogous
#183550 #181950 #331850
triadic
#181950 #501819 #195018
tetradic
#181950 #501835 #504F18 #185033
square
#181950 #501835 #504F18 #185033
split-complementary
#181950 #503318 #355018
monochromatic
#070718 #0A0A21 #181950 #26287F #3436AE

Accessibility & contrast

On white

16.23
#181950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#181950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181950
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181950#FFFFFF#000000##FFFFFF
##1819501.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181950;
/* rgb */ color: rgb(24, 25, 80);
/* oklch */ color: oklch(25.3% 0.098 276.0);
Tailwind
colors: {
  custom: {
    50: '#5d5582',
    500: '#181950',
    950: '#000000',
  },
}
SCSS
$custom: #181950;
$custom-light: #5d5582;
$custom-dark: #000000;
JSON
{
  "hex": "#181950",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 238.929,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25281,
    "c": 0.0983,
    "h": 276
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#181950
secondary
#87853D
accent
#DB4BDD
background
#F5F5F8
surface
#E9E8EF
border
#C5C4CA
text
#05030A
muted
#79787C

Preview Lab

Preview with #181950

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

Preview Lab → · Contrast checker → · Palette generator →

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