#18206B#18206B

#18206B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.4% C 0.129 H 271.0°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#18206B
RGBrgb(24, 32, 107)
HSLhsl(234, 63%, 26%)
HSVhsv(234, 78%, 42%)
CMYKcmyk(77.6%, 70.1%, 0%, 58%)
CIE-LABlab(16.93, 25.12, -44.55)
CIE-LCHlch(16.93, 51.15, 299.42°)
OKLaboklab(29.41% 0.0023 -0.1288)
OKLCHoklch(29.41% 0.129 271)
XYZxyz(3.5461, 2.2884, 14.1619)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18206B #6B6318
analogous
#18496B #18206B #39186B
triadic
#18206B #6B1820 #206B18
tetradic
#18206B #6B1849 #6B6318 #186B39
square
#18206B #6B1849 #6B6318 #186B39
split-complementary
#18206B #6B3918 #496B18
monochromatic
#060719 #0D1139 #18206B #232F9D #2E3ECF

Accessibility & contrast

On white

14.41
#18206B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#18206B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18206B
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18206B#FFFFFF#000000##FFFFFF
##18206B1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#00266A
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #18206b;
/* rgb */ color: rgb(24, 32, 107);
/* oklch */ color: oklch(29.4% 0.129 271.0);
Tailwind
colors: {
  custom: {
    50: '#635b96',
    500: '#18206b',
    950: '#000000',
  },
}
SCSS
$custom: #18206b;
$custom-light: #635b96;
$custom-dark: #000000;
JSON
{
  "hex": "#18206b",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 234.217,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29407,
    "c": 0.12886,
    "h": 271
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#18206B
secondary
#A1973E
accent
#D641E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #18206B

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

Preview Lab → · Contrast checker → · Palette generator →

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