#18206E#18206E

#18206E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.7% C 0.133 H 270.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#18206E
RGBrgb(24, 32, 110)
HSLhsl(234, 64%, 26%)
HSVhsv(234, 78%, 43%)
CMYKcmyk(78.2%, 70.9%, 0%, 56.9%)
CIE-LABlab(17.24, 26.29, -46.00)
CIE-LCHlch(17.24, 52.99, 299.75°)
OKLaboklab(29.72% 0.0021 -0.1331)
OKLCHoklch(29.72% 0.133 270.9)
XYZxyz(3.7067, 2.3526, 15.0076)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18206E #6E6618
analogous
#184B6E #18206E #3B186E
triadic
#18206E #6E1820 #206E18
tetradic
#18206E #6E184B #6E6618 #186E3B
square
#18206E #6E184B #6E6618 #186E3B
split-complementary
#18206E #6E3B18 #4B6E18
monochromatic
#050719 #0D113C #18206E #232FA0 #2F3ED2

Accessibility & contrast

On white

14.28
#18206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18206E
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18206E#FFFFFF#000000##FFFFFF
##18206E1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #18206e;
/* rgb */ color: rgb(24, 32, 110);
/* oklch */ color: oklch(29.7% 0.133 270.9);
Tailwind
colors: {
  custom: {
    50: '#645b98',
    500: '#18206e',
    950: '#000000',
  },
}
SCSS
$custom: #18206e;
$custom-light: #645b98;
$custom-dark: #000000;
JSON
{
  "hex": "#18206e",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 234.419,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29722,
    "c": 0.1331,
    "h": 270.9
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#18206E
secondary
#A49A3E
accent
#D841E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #18206E

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

Preview Lab → · Contrast checker → · Palette generator →

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