#18205E#18205E

#18205E is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.110 H 271.7°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#18205E
RGBrgb(24, 32, 94)
HSLhsl(233, 59%, 23%)
HSVhsv(233, 74%, 37%)
CMYKcmyk(74.5%, 66%, 0%, 63.1%)
CIE-LABlab(15.67, 19.96, -38.05)
CIE-LCHlch(15.67, 42.97, 297.68°)
OKLaboklab(28.09% 0.0032 -0.1098)
OKLCHoklch(28.09% 0.11 271.7)
XYZxyz(2.9129, 2.0351, 10.8268)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18205E #5E5618
analogous
#18435E #18205E #33185E
triadic
#18205E #5E1820 #205E18
tetradic
#18205E #5E1843 #5E5618 #185E33
square
#18205E #5E1843 #5E5618 #185E33
split-complementary
#18205E #5E3318 #435E18
monochromatic
#060818 #0C0F2D #18205E #24318F #3141C0

Accessibility & contrast

On white

14.93
#18205E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#18205E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18205E
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18205E#FFFFFF#000000##FFFFFF
##18205E1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#00245D
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #18205e;
/* rgb */ color: rgb(24, 32, 94);
/* oklch */ color: oklch(28.1% 0.110 271.7);
Tailwind
colors: {
  custom: {
    50: '#605b8c',
    500: '#18205e',
    950: '#000000',
  },
}
SCSS
$custom: #18205e;
$custom-light: #605b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#18205e",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 233.143,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28092,
    "c": 0.10985,
    "h": 271.7
  },
  "luminance": 0.02035
}

Semantic roles & 50–950 ramp

primary
#18205E
secondary
#948B3D
accent
#D145E3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #18205E

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

Preview Lab → · Contrast checker → · Palette generator →

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