#18206F#18206F

#18206F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.135 H 270.8°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#18206F
RGBrgb(24, 32, 111)
HSLhsl(234, 64%, 26%)
HSVhsv(234, 78%, 44%)
CMYKcmyk(78.4%, 71.2%, 0%, 56.5%)
CIE-LABlab(17.34, 26.68, -46.48)
CIE-LCHlch(17.34, 53.59, 299.85°)
OKLaboklab(29.83% 0.002 -0.1345)
OKLCHoklch(29.83% 0.135 270.8)
XYZxyz(3.7615, 2.3745, 15.2959)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18206F #6F6718
analogous
#184C6F #18206F #3C186F
triadic
#18206F #6F1820 #206F18
tetradic
#18206F #6F184C #6F6718 #186F3C
square
#18206F #6F184C #6F6718 #186F3C
split-complementary
#18206F #6F3C18 #4C6F18
monochromatic
#050719 #0D113D #18206F #232FA1 #2F3ED2

Accessibility & contrast

On white

14.24
#18206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#18206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18206F
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18206F#FFFFFF#000000##FFFFFF
##18206F1.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00266E
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #18206f;
/* rgb */ color: rgb(24, 32, 111);
/* oklch */ color: oklch(29.8% 0.135 270.8);
Tailwind
colors: {
  custom: {
    50: '#645b99',
    500: '#18206f',
    950: '#000000',
  },
}
SCSS
$custom: #18206f;
$custom-light: #645b99;
$custom-dark: #000000;
JSON
{
  "hex": "#18206f",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 234.483,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29828,
    "c": 0.1345,
    "h": 270.8
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#18206F
secondary
#A59B3E
accent
#D840E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #18206F

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

Preview Lab → · Contrast checker → · Palette generator →

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