#202058#202058

#202058 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.098 H 278.0°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#202058
RGBrgb(32, 32, 88)
HSLhsl(240, 47%, 24%)
HSVhsv(240, 64%, 35%)
CMYKcmyk(63.6%, 63.6%, 0%, 65.5%)
CIE-LABlab(15.72, 19.03, -33.94)
CIE-LCHlch(15.72, 38.91, 299.29°)
OKLaboklab(28.11% 0.0137 -0.0975)
OKLCHoklch(28.11% 0.098 278)
XYZxyz(2.8731, 2.0445, 9.4739)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202058 #585820
analogous
#203C58 #202058 #3C2058
triadic
#202058 #582020 #205820
tetradic
#202058 #58203C #585820 #20583C
square
#202058 #58203C #585820 #20583C
split-complementary
#202058 #583C20 #3C5820
monochromatic
#080816 #10102B #202058 #303085 #4141B2

Accessibility & contrast

On white

14.90
#202058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202058
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202058#FFFFFF#000000##FFFFFF
##2020581.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202058;
/* rgb */ color: rgb(32, 32, 88);
/* oklch */ color: oklch(28.1% 0.098 278.0);
Tailwind
colors: {
  custom: {
    50: '#625b88',
    500: '#202058',
    950: '#000000',
  },
}
SCSS
$custom: #202058;
$custom-light: #625b88;
$custom-dark: #000000;
JSON
{
  "hex": "#202058",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 240,
    "s": 46.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28114,
    "c": 0.09843,
    "h": 278
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#202058
secondary
#8C8C47
accent
#D651D6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040B
muted
#7A797C

Preview Lab

Preview with #202058

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

Preview Lab → · Contrast checker → · Palette generator →

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