#201866#201866

#201866 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.129 H 278.6°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#201866
RGBrgb(32, 24, 102)
HSLhsl(246, 62%, 25%)
HSVhsv(246, 76%, 40%)
CMYKcmyk(68.6%, 76.5%, 0%, 60%)
CIE-LABlab(15.06, 29.57, -44.33)
CIE-LCHlch(15.06, 53.29, 303.70°)
OKLaboklab(28.05% 0.0194 -0.128)
OKLCHoklch(28.05% 0.129 278.6)
XYZxyz(3.3198, 1.9194, 12.7633)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201866 #5E6618
analogous
#183766 #201866 #471866
triadic
#201866 #662018 #186620
tetradic
#201866 #661837 #5E6618 #186647
square
#201866 #661837 #5E6618 #186647
split-complementary
#201866 #664718 #376618
monochromatic
#080619 #100C34 #201866 #302498 #3F2FC9

Accessibility & contrast

On white

15.17
#201866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#201866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201866
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201866#FFFFFF#000000##FFFFFF
##2018661.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002365
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201866;
/* rgb */ color: rgb(32, 24, 102);
/* oklch */ color: oklch(28.1% 0.129 278.6);
Tailwind
colors: {
  custom: {
    50: '#665693',
    500: '#201866',
    950: '#000000',
  },
}
SCSS
$custom: #201866;
$custom-light: #665693;
$custom-dark: #000000;
JSON
{
  "hex": "#201866",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 246.154,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.2805,
    "c": 0.12943,
    "h": 278.6
  },
  "luminance": 0.0192
}

Semantic roles & 50–950 ramp

primary
#201866
secondary
#929C3E
accent
#E543D4
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #201866

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

Preview Lab → · Contrast checker → · Palette generator →

#201866 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva