#20358C#20358C

#20358C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.146 H 267.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#20358C
RGBrgb(32, 53, 140)
HSLhsl(228, 63%, 34%)
HSVhsv(228, 77%, 55%)
CMYKcmyk(77.1%, 62.1%, 0%, 45.1%)
CIE-LABlab(26.00, 24.49, -50.66)
CIE-LCHlch(26.00, 56.27, 295.80°)
OKLaboklab(37.15% -0.0052 -0.1464)
OKLCHoklch(37.15% 0.146 267.9)
XYZxyz(6.6007, 4.7460, 25.3741)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20358C #8C7720
analogous
#206B8C #20358C #41208C
triadic
#20358C #8C2035 #358C20
tetradic
#20358C #8C206B #8C7720 #208C41
square
#20358C #8C206B #8C7720 #208C41
split-complementary
#20358C #8C4120 #6B8C20
monochromatic
#090F28 #15225A #20358C #2B48BE #506AD7

Accessibility & contrast

On white

10.77
#20358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#20358C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20358C
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20358C#FFFFFF#000000##FFFFFF
##20358C1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20358c;
/* rgb */ color: rgb(32, 53, 140);
/* oklch */ color: oklch(37.1% 0.146 267.9);
Tailwind
colors: {
  custom: {
    50: '#6d6cae',
    500: '#20358c',
    950: '#000000',
  },
}
SCSS
$custom: #20358c;
$custom-light: #6d6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#20358c",
  "rgb": {
    "r": 32,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 228.333,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37145,
    "c": 0.14646,
    "h": 267.9
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#20358C
secondary
#BAA54E
accent
#C642E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #20358C

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

Preview Lab → · Contrast checker → · Palette generator →

#20358C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva