#18194C#18194C

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

Color values

HEX#18194C
RGBrgb(24, 25, 76)
HSLhsl(239, 52%, 20%)
HSVhsv(239, 68%, 30%)
CMYKcmyk(68.4%, 67.1%, 0%, 70.2%)
CIE-LABlab(12.03, 17.86, -31.80)
CIE-LCHlch(12.03, 36.47, 299.33°)
OKLaboklab(24.89% 0.0105 -0.0915)
OKLCHoklch(24.89% 0.092 276.5)
XYZxyz(2.0284, 1.4111, 7.0016)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18194C #4C4B18
analogous
#18334C #18194C #31184C
triadic
#18194C #4C1819 #194C18
tetradic
#18194C #4C1833 #4C4B18 #184C31
square
#18194C #4C1833 #4C4B18 #184C31
split-complementary
#18194C #4C3118 #334C18
monochromatic
#070817 #090A1D #18194C #27287B #3538A9

Accessibility & contrast

On white

16.38
#18194C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#18194C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18194C
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18194C#FFFFFF#000000##FFFFFF
##18194C1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18194c;
/* rgb */ color: rgb(24, 25, 76);
/* oklch */ color: oklch(24.9% 0.092 276.5);
Tailwind
colors: {
  custom: {
    50: '#5c557e',
    500: '#18194c',
    950: '#000000',
  },
}
SCSS
$custom: #18194c;
$custom-light: #5c557e;
$custom-dark: #000000;
JSON
{
  "hex": "#18194c",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 76
  },
  "hsl": {
    "h": 238.846,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24889,
    "c": 0.0921,
    "h": 276.5
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#18194C
secondary
#83813D
accent
#D94CDB
background
#F5F4F7
surface
#E9E8EE
border
#C5C4C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #18194C

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

Preview Lab → · Contrast checker → · Palette generator →

#18194C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva