#20358F#20358F

#20358F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.151 H 268.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#20358F
RGBrgb(32, 53, 143)
HSLhsl(229, 63%, 34%)
HSVhsv(229, 78%, 56%)
CMYKcmyk(77.6%, 62.9%, 0%, 43.9%)
CIE-LABlab(26.26, 25.66, -52.09)
CIE-LCHlch(26.26, 58.07, 296.22°)
OKLaboklab(37.42% -0.0053 -0.1506)
OKLCHoklch(37.42% 0.151 268)
XYZxyz(6.8250, 4.8357, 26.5550)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20358F #8F7A20
analogous
#206D8F #20358F #43208F
triadic
#20358F #8F2035 #358F20
tetradic
#20358F #8F206D #8F7A20 #208F43
square
#20358F #8F206D #8F7A20 #208F43
split-complementary
#20358F #8F4320 #6D8F20
monochromatic
#0A102B #15225D #20358F #2B48C1 #516BD8

Accessibility & contrast

On white

10.68
#20358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#20358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20358F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20358F#FFFFFF#000000##FFFFFF
##20358F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20358f;
/* rgb */ color: rgb(32, 53, 143);
/* oklch */ color: oklch(37.4% 0.151 268.0);
Tailwind
colors: {
  custom: {
    50: '#6e6cb1',
    500: '#20358f',
    950: '#000000',
  },
}
SCSS
$custom: #20358f;
$custom-light: #6e6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#20358f",
  "rgb": {
    "r": 32,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 228.649,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37422,
    "c": 0.15065,
    "h": 268
  },
  "luminance": 0.04836
}

Semantic roles & 50–950 ramp

primary
#20358F
secondary
#BBA74F
accent
#C741E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #20358F

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

Preview Lab → · Contrast checker → · Palette generator →

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