#20358B#20358B

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

Color values

HEX#20358B
RGBrgb(32, 53, 139)
HSLhsl(228, 63%, 34%)
HSVhsv(228, 77%, 55%)
CMYKcmyk(77%, 61.9%, 0%, 45.5%)
CIE-LABlab(25.91, 24.10, -50.19)
CIE-LCHlch(25.91, 55.67, 295.65°)
OKLaboklab(37.05% -0.0052 -0.145)
OKLCHoklch(37.05% 0.145 267.9)
XYZxyz(6.5274, 4.7167, 24.9875)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20358B #8B7620
analogous
#206A8B #20358B #40208B
triadic
#20358B #8B2035 #358B20
tetradic
#20358B #8B206A #8B7620 #208B40
square
#20358B #8B206A #8B7620 #208B40
split-complementary
#20358B #8B4020 #6A8B20
monochromatic
#090F28 #152259 #20358B #2B48BD #4F6AD6

Accessibility & contrast

On white

10.81
#20358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#20358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20358B
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20358B#FFFFFF#000000##FFFFFF
##20358B1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #20358b;
/* rgb */ color: rgb(32, 53, 139);
/* oklch */ color: oklch(37.1% 0.145 267.9);
Tailwind
colors: {
  custom: {
    50: '#6d6cae',
    500: '#20358b',
    950: '#000000',
  },
}
SCSS
$custom: #20358b;
$custom-light: #6d6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#20358b",
  "rgb": {
    "r": 32,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 228.224,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37054,
    "c": 0.14507,
    "h": 267.9
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20358B

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

Preview Lab → · Contrast checker → · Palette generator →

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