#18206D#18206D

#18206D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.132 H 270.9°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#18206D
RGBrgb(24, 32, 109)
HSLhsl(234, 64%, 26%)
HSVhsv(234, 78%, 43%)
CMYKcmyk(78%, 70.6%, 0%, 57.3%)
CIE-LABlab(17.14, 25.90, -45.52)
CIE-LCHlch(17.14, 52.37, 299.64°)
OKLaboklab(29.62% 0.0022 -0.1317)
OKLCHoklch(29.62% 0.132 270.9)
XYZxyz(3.6526, 2.3310, 14.7225)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18206D #6D6518
analogous
#184A6D #18206D #3A186D
triadic
#18206D #6D1820 #206D18
tetradic
#18206D #6D184A #6D6518 #186D3A
square
#18206D #6D184A #6D6518 #186D3A
split-complementary
#18206D #6D3A18 #4A6D18
monochromatic
#060719 #0D113B #18206D #232F9F #2E3ED1

Accessibility & contrast

On white

14.32
#18206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#18206D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18206D
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18206D#FFFFFF#000000##FFFFFF
##18206D1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6F
Deuteranopia (green-blind)
#00266C
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #18206d;
/* rgb */ color: rgb(24, 32, 109);
/* oklch */ color: oklch(29.6% 0.132 270.9);
Tailwind
colors: {
  custom: {
    50: '#645b98',
    500: '#18206d',
    950: '#000000',
  },
}
SCSS
$custom: #18206d;
$custom-light: #645b98;
$custom-dark: #000000;
JSON
{
  "hex": "#18206d",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 234.353,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29617,
    "c": 0.1317,
    "h": 270.9
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#18206D
secondary
#A3993E
accent
#D741E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #18206D

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

Preview Lab → · Contrast checker → · Palette generator →

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