#181C44#181C44

#181C44 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.074 H 275.3°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#181C44
RGBrgb(24, 28, 68)
HSLhsl(235, 48%, 18%)
HSVhsv(235, 65%, 27%)
CMYKcmyk(64.7%, 58.8%, 0%, 73.3%)
CIE-LABlab(12.23, 12.44, -25.92)
CIE-LCHlch(12.23, 28.74, 295.63°)
OKLaboklab(24.82% 0.0069 -0.0742)
OKLCHoklch(24.82% 0.074 275.3)
XYZxyz(1.8350, 1.4419, 5.6493)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C44 #444018
analogous
#183244 #181C44 #2A1844
triadic
#181C44 #44181C #1C4418
tetradic
#181C44 #441832 #444018 #18442A
square
#181C44 #441832 #444018 #18442A
split-complementary
#181C44 #442A18 #324418
monochromatic
#080917 #080917 #181C44 #282F71 #38419E

Accessibility & contrast

On white

16.30
#181C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181C44
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C44#FFFFFF#000000##FFFFFF
##181C441.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062245
Deuteranopia (green-blind)
#011E43
Tritanopia (blue-blind)
#01252C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181c44;
/* rgb */ color: rgb(24, 28, 68);
/* oklch */ color: oklch(24.8% 0.074 275.3);
Tailwind
colors: {
  custom: {
    50: '#5a5778',
    500: '#181c44',
    950: '#000000',
  },
}
SCSS
$custom: #181c44;
$custom-light: #5a5778;
$custom-dark: #000000;
JSON
{
  "hex": "#181c44",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 68
  },
  "hsl": {
    "h": 234.545,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24822,
    "c": 0.07449,
    "h": 275.3
  },
  "luminance": 0.01442
}

Semantic roles & 50–950 ramp

primary
#181C44
secondary
#7B753D
accent
#CB50D7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #181C44

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

Preview Lab → · Contrast checker → · Palette generator →

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