#202060#202060

#202060 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.111 H 276.9°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#202060
RGBrgb(32, 32, 96)
HSLhsl(240, 50%, 25%)
HSVhsv(240, 67%, 38%)
CMYKcmyk(66.7%, 66.7%, 0%, 62.4%)
CIE-LABlab(16.43, 22.06, -38.12)
CIE-LCHlch(16.43, 44.05, 300.06°)
OKLaboklab(28.86% 0.0133 -0.1098)
OKLCHoklch(28.86% 0.111 276.9)
XYZxyz(3.2228, 2.1844, 11.3159)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202060 #606020
analogous
#204060 #202060 #402060
triadic
#202060 #602020 #206020
tetradic
#202060 #602040 #606020 #206040
square
#202060 #602040 #606020 #206040
split-complementary
#202060 #604020 #406020
monochromatic
#080817 #111132 #202060 #2F2F8E #3F3FBC

Accessibility & contrast

On white

14.61
#202060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#202060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202060
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202060#FFFFFF#000000##FFFFFF
##2020601.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #202060;
/* rgb */ color: rgb(32, 32, 96);
/* oklch */ color: oklch(28.9% 0.111 276.9);
Tailwind
colors: {
  custom: {
    50: '#645b8e',
    500: '#202060',
    950: '#000000',
  },
}
SCSS
$custom: #202060;
$custom-light: #645b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#202060",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 96
  },
  "hsl": {
    "h": 240,
    "s": 50,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28856,
    "c": 0.11059,
    "h": 276.9
  },
  "luminance": 0.02185
}

Semantic roles & 50–950 ramp

primary
#202060
secondary
#949447
accent
#DA4EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #202060

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

Preview Lab → · Contrast checker → · Palette generator →

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