#18195A#18195A

#18195A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.3% C 0.113 H 274.7°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#18195A
RGBrgb(24, 25, 90)
HSLhsl(239, 58%, 22%)
HSVhsv(239, 73%, 35%)
CMYKcmyk(73.3%, 72.2%, 0%, 64.7%)
CIE-LABlab(13.40, 23.35, -39.10)
CIE-LCHlch(13.40, 45.54, 300.85°)
OKLaboklab(26.31% 0.0093 -0.1129)
OKLCHoklch(26.31% 0.113 274.7)
XYZxyz(2.5692, 1.6274, 9.8496)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18195A #5A5918
analogous
#183A5A #18195A #38185A
triadic
#18195A #5A1819 #195A18
tetradic
#18195A #5A183A #5A5918 #185A38
square
#18195A #5A183A #5A5918 #185A38
split-complementary
#18195A #5A3818 #3A5A18
monochromatic
#060718 #0B0C2A #18195A #25268A #3234BB

Accessibility & contrast

On white

15.84
#18195A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#18195A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18195A
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18195A#FFFFFF#000000##FFFFFF
##18195A1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #18195a;
/* rgb */ color: rgb(24, 25, 90);
/* oklch */ color: oklch(26.3% 0.113 274.7);
Tailwind
colors: {
  custom: {
    50: '#605689',
    500: '#18195a',
    950: '#000000',
  },
}
SCSS
$custom: #18195a;
$custom-light: #605689;
$custom-dark: #000000;
JSON
{
  "hex": "#18195a",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 90
  },
  "hsl": {
    "h": 239.091,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26308,
    "c": 0.11329,
    "h": 274.7
  },
  "luminance": 0.01628
}

Semantic roles & 50–950 ramp

primary
#18195A
secondary
#918F3D
accent
#DF47E1
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #18195A

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

Preview Lab → · Contrast checker → · Palette generator →

#18195A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva