#2018C9#2018C9

#2018C9 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 40.0% C 0.247 H 268.9°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2018C9
RGBrgb(32, 24, 201)
HSLhsl(243, 79%, 44%)
HSVhsv(243, 88%, 79%)
CMYKcmyk(84.1%, 88.1%, 0%, 21.2%)
CIE-LABlab(27.23, 60.68, -85.36)
CIE-LCHlch(27.23, 104.73, 305.41°)
OKLaboklab(39.98% -0.0048 -0.2469)
OKLCHoklch(39.98% 0.247 268.9)
XYZxyz(11.4613, 5.1760, 55.6420)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2018C9 #C1C918
analogous
#1869C9 #2018C9 #7918C9
triadic
#2018C9 #C92018 #18C920
tetradic
#2018C9 #C91869 #C1C918 #18C979
square
#2018C9 #C91869 #C1C918 #18C979
split-complementary
#2018C9 #C97918 #69C918
monochromatic
#0F0B5C #171192 #2018C9 #3F37E7 #746EEE

Accessibility & contrast

On white

10.32
#2018C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2018C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2018C9
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2018C9#FFFFFF#000000##FFFFFF
##2018C91.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049CE
Deuteranopia (green-blind)
#0037C6
Tritanopia (blue-blind)
#005677
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2018c9;
/* rgb */ color: rgb(32, 24, 201);
/* oklch */ color: oklch(40.0% 0.247 268.9);
Tailwind
colors: {
  custom: {
    50: '#7f5edb',
    500: '#2018c9',
    950: '#000000',
  },
}
SCSS
$custom: #2018c9;
$custom-light: #7f5edb;
$custom-dark: #000000;
JSON
{
  "hex": "#2018c9",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 201
  },
  "hsl": {
    "h": 242.712,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.39975,
    "c": 0.24696,
    "h": 268.9
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#2018C9
secondary
#CFD469
accent
#F533EC
background
#F8F5FD
surface
#F0EAFB
border
#CBC6D4
text
#0D0515
muted
#7D7983

Preview Lab

Preview with #2018C9

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

Preview Lab → · Contrast checker → · Palette generator →

#2018C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva