#18194F#18194F

#18194F is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.097 H 276.1°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#18194F
RGBrgb(24, 25, 79)
HSLhsl(239, 53%, 20%)
HSVhsv(239, 70%, 31%)
CMYKcmyk(69.6%, 68.4%, 0%, 69%)
CIE-LABlab(12.31, 19.05, -33.40)
CIE-LCHlch(12.31, 38.45, 299.69°)
OKLaboklab(25.18% 0.0103 -0.0962)
OKLCHoklch(25.18% 0.097 276.1)
XYZxyz(2.1351, 1.4538, 7.5637)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18194F #4F4E18
analogous
#18344F #18194F #32184F
triadic
#18194F #4F1819 #194F18
tetradic
#18194F #4F1834 #4F4E18 #184F32
square
#18194F #4F1834 #4F4E18 #184F32
split-complementary
#18194F #4F3218 #344F18
monochromatic
#070717 #0A0A20 #18194F #26287E #3537AD

Accessibility & contrast

On white

16.27
#18194F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#18194F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18194F
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18194F#FFFFFF#000000##FFFFFF
##18194F1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #18194f;
/* rgb */ color: rgb(24, 25, 79);
/* oklch */ color: oklch(25.2% 0.097 276.1);
Tailwind
colors: {
  custom: {
    50: '#5d5581',
    500: '#18194f',
    950: '#000000',
  },
}
SCSS
$custom: #18194f;
$custom-light: #5d5581;
$custom-dark: #000000;
JSON
{
  "hex": "#18194f",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 79
  },
  "hsl": {
    "h": 238.909,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25182,
    "c": 0.09677,
    "h": 276.1
  },
  "luminance": 0.01454
}

Semantic roles & 50–950 ramp

primary
#18194F
secondary
#86843D
accent
#DA4BDD
background
#F5F5F7
surface
#E9E8EE
border
#C5C4C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #18194F

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

Preview Lab → · Contrast checker → · Palette generator →

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