#181C49#181C49

#181C49 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.083 H 275.0°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#181C49
RGBrgb(24, 28, 73)
HSLhsl(235, 51%, 19%)
HSVhsv(235, 67%, 29%)
CMYKcmyk(67.1%, 61.6%, 0%, 71.4%)
CIE-LABlab(12.64, 14.44, -28.73)
CIE-LCHlch(12.64, 32.15, 296.68°)
OKLaboklab(25.26% 0.0072 -0.0824)
OKLCHoklch(25.26% 0.083 275)
XYZxyz(1.9941, 1.5056, 6.4876)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C49 #494518
analogous
#183549 #181C49 #2D1849
triadic
#181C49 #49181C #1C4918
tetradic
#181C49 #491835 #494518 #18492D
square
#181C49 #491835 #494518 #18492D
split-complementary
#181C49 #492D18 #354918
monochromatic
#080917 #090A1B #181C49 #272E77 #363FA5

Accessibility & contrast

On white

16.14
#181C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#181C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C49
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C49#FFFFFF#000000##FFFFFF
##181C491.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181c49;
/* rgb */ color: rgb(24, 28, 73);
/* oklch */ color: oklch(25.3% 0.083 275.0);
Tailwind
colors: {
  custom: {
    50: '#5b577c',
    500: '#181c49',
    950: '#000000',
  },
}
SCSS
$custom: #181c49;
$custom-light: #5b577c;
$custom-dark: #000000;
JSON
{
  "hex": "#181c49",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 73
  },
  "hsl": {
    "h": 235.102,
    "s": 50.515,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2526,
    "c": 0.08276,
    "h": 275
  },
  "luminance": 0.01506
}

Semantic roles & 50–950 ramp

primary
#181C49
secondary
#807A3D
accent
#CF4EDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #181C49

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

Preview Lab → · Contrast checker → · Palette generator →

#181C49 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva