#202057#202057

#202057 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.097 H 278.1°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#202057
RGBrgb(32, 32, 87)
HSLhsl(240, 46%, 23%)
HSVhsv(240, 63%, 34%)
CMYKcmyk(63.2%, 63.2%, 0%, 65.9%)
CIE-LABlab(15.63, 18.66, -33.40)
CIE-LCHlch(15.63, 38.26, 299.18°)
OKLaboklab(28.02% 0.0137 -0.0959)
OKLCHoklch(28.02% 0.097 278.1)
XYZxyz(2.8319, 2.0280, 9.2572)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202057 #575720
analogous
#203B57 #202057 #3B2057
triadic
#202057 #572020 #205720
tetradic
#202057 #57203B #575720 #20573B
square
#202057 #57203B #575720 #20573B
split-complementary
#202057 #573B20 #3B5720
monochromatic
#080816 #10102A #202057 #303084 #4141B0

Accessibility & contrast

On white

14.94
#202057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#202057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202057
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202057#FFFFFF#000000##FFFFFF
##2020571.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002959
Deuteranopia (green-blind)
#002556
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #202057;
/* rgb */ color: rgb(32, 32, 87);
/* oklch */ color: oklch(28.0% 0.097 278.1);
Tailwind
colors: {
  custom: {
    50: '#625b87',
    500: '#202057',
    950: '#000000',
  },
}
SCSS
$custom: #202057;
$custom-light: #625b87;
$custom-dark: #000000;
JSON
{
  "hex": "#202057",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 240,
    "s": 46.218,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28024,
    "c": 0.09687,
    "h": 278.1
  },
  "luminance": 0.02028
}

Semantic roles & 50–950 ramp

primary
#202057
secondary
#8B8B47
accent
#D652D6
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #202057

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

Preview Lab → · Contrast checker → · Palette generator →

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