#20368B#20368B

#20368B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.144 H 267.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#20368B
RGBrgb(32, 54, 139)
HSLhsl(228, 63%, 34%)
HSVhsv(228, 77%, 55%)
CMYKcmyk(77%, 61.2%, 0%, 45.5%)
CIE-LABlab(26.18, 23.41, -49.74)
CIE-LCHlch(26.18, 54.98, 295.21°)
OKLaboklab(37.26% -0.006 -0.1437)
OKLCHoklch(37.26% 0.144 267.6)
XYZxyz(6.5734, 4.8088, 25.0028)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20368B #8B7520
analogous
#206B8B #20368B #40208B
triadic
#20368B #8B2036 #368B20
tetradic
#20368B #8B206B #8B7520 #208B40
square
#20368B #8B206B #8B7520 #208B40
split-complementary
#20368B #8B4020 #6B8B20
monochromatic
#090F28 #152359 #20368B #2B49BD #4F6BD6

Accessibility & contrast

On white

10.70
#20368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#20368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20368B
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20368B#FFFFFF#000000##FFFFFF
##20368B1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20368b;
/* rgb */ color: rgb(32, 54, 139);
/* oklch */ color: oklch(37.3% 0.144 267.6);
Tailwind
colors: {
  custom: {
    50: '#6d6cae',
    500: '#20368b',
    950: '#000000',
  },
}
SCSS
$custom: #20368b;
$custom-light: #6d6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#20368b",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 227.664,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37255,
    "c": 0.14378,
    "h": 267.6
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#20368B
secondary
#BAA34D
accent
#C442E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #20368B

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

Preview Lab → · Contrast checker → · Palette generator →

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