#20355A#20355A

#20355A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.1% C 0.071 H 261.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#20355A
RGBrgb(32, 53, 90)
HSLhsl(218, 48%, 24%)
HSVhsv(218, 64%, 35%)
CMYKcmyk(64.4%, 41.1%, 0%, 64.7%)
CIE-LABlab(22.27, 4.70, -24.75)
CIE-LCHlch(22.27, 25.20, 280.76°)
OKLaboklab(33.14% -0.0111 -0.0702)
OKLCHoklch(33.14% 0.071 261)
XYZxyz(3.7136, 3.5911, 10.1683)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20355A #5A4520
analogous
#20525A #20355A #28205A
triadic
#20355A #5A2035 #355A20
tetradic
#20355A #5A2052 #5A4520 #205A28
square
#20355A #5A2052 #5A4520 #205A28
split-complementary
#20355A #5A2820 #525A20
monochromatic
#080D17 #101A2D #20355A #305087 #406AB4

Accessibility & contrast

On white

12.22
#20355A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#20355A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20355A
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20355A#FFFFFF#000000##FFFFFF
##20355A1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385B
Deuteranopia (green-blind)
#1E3359
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #20355a;
/* rgb */ color: rgb(32, 53, 90);
/* oklch */ color: oklch(33.1% 0.071 261.0);
Tailwind
colors: {
  custom: {
    50: '#616b89',
    500: '#20355a',
    950: '#000000',
  },
}
SCSS
$custom: #20355a;
$custom-light: #616b89;
$custom-dark: #000000;
JSON
{
  "hex": "#20355a",
  "rgb": {
    "r": 32,
    "g": 53,
    "b": 90
  },
  "hsl": {
    "h": 218.276,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33135,
    "c": 0.07111,
    "h": 261
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#20355A
secondary
#8E7547
accent
#A651D7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #20355A

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

Preview Lab → · Contrast checker → · Palette generator →

#20355A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva