#18194B#18194B

#18194B is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.091 H 276.7°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#18194B
RGBrgb(24, 25, 75)
HSLhsl(239, 52%, 19%)
HSVhsv(239, 68%, 29%)
CMYKcmyk(68%, 66.7%, 0%, 70.6%)
CIE-LABlab(11.94, 17.47, -31.26)
CIE-LCHlch(11.94, 35.81, 299.20°)
OKLaboklab(24.79% 0.0105 -0.0899)
OKLCHoklch(24.79% 0.091 276.7)
XYZxyz(1.9939, 1.3973, 6.8199)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18194B #4B4A18
analogous
#18334B #18194B #31184B
triadic
#18194B #4B1819 #194B18
tetradic
#18194B #4B1833 #4B4A18 #184B31
square
#18194B #4B1833 #4B4A18 #184B31
split-complementary
#18194B #4B3118 #334B18
monochromatic
#070817 #090A1D #18194B #272879 #3638A8

Accessibility & contrast

On white

16.41
#18194B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18194B
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18194B#FFFFFF#000000##FFFFFF
##18194B1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #18194b;
/* rgb */ color: rgb(24, 25, 75);
/* oklch */ color: oklch(24.8% 0.091 276.7);
Tailwind
colors: {
  custom: {
    50: '#5c557e',
    500: '#18194b',
    950: '#000000',
  },
}
SCSS
$custom: #18194b;
$custom-light: #5c557e;
$custom-dark: #000000;
JSON
{
  "hex": "#18194b",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 75
  },
  "hsl": {
    "h": 238.824,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24793,
    "c": 0.09052,
    "h": 276.7
  },
  "luminance": 0.01397
}

Semantic roles & 50–950 ramp

primary
#18194B
secondary
#82803D
accent
#D84DDB
background
#F5F4F7
surface
#E9E8EE
border
#C5C4C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #18194B

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

Preview Lab → · Contrast checker → · Palette generator →

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