#181B49#181B49

#181B49 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.084 H 275.7°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#181B49
RGBrgb(24, 27, 73)
HSLhsl(236, 51%, 19%)
HSVhsv(236, 67%, 29%)
CMYKcmyk(67.1%, 63%, 0%, 71.4%)
CIE-LABlab(12.34, 15.19, -29.21)
CIE-LCHlch(12.34, 32.93, 297.47°)
OKLaboklab(25.04% 0.0083 -0.0839)
OKLCHoklch(25.04% 0.084 275.7)
XYZxyz(1.9708, 1.4589, 6.4798)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181B49 #494618
analogous
#183449 #181B49 #2E1849
triadic
#181B49 #49181B #1B4918
tetradic
#181B49 #491834 #494618 #18492E
square
#181B49 #491834 #494618 #18492E
split-complementary
#181B49 #492E18 #344918
monochromatic
#080917 #090A1B #181B49 #272C77 #363DA5

Accessibility & contrast

On white

16.26
#181B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#181B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181B49
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181B49#FFFFFF#000000##FFFFFF
##181B491.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181b49;
/* rgb */ color: rgb(24, 27, 73);
/* oklch */ color: oklch(25.0% 0.084 275.7);
Tailwind
colors: {
  custom: {
    50: '#5b577c',
    500: '#181b49',
    950: '#000000',
  },
}
SCSS
$custom: #181b49;
$custom-light: #5b577c;
$custom-dark: #000000;
JSON
{
  "hex": "#181b49",
  "rgb": {
    "r": 24,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 236.327,
    "s": 50.515,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25037,
    "c": 0.08429,
    "h": 275.7
  },
  "luminance": 0.01459
}

Semantic roles & 50–950 ramp

primary
#181B49
secondary
#807C3D
accent
#D14EDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #181B49

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

Preview Lab → · Contrast checker → · Palette generator →

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