#20368D#20368D

#20368D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.147 H 267.7°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#20368D
RGBrgb(32, 54, 141)
HSLhsl(228, 63%, 34%)
HSVhsv(228, 77%, 55%)
CMYKcmyk(77.3%, 61.7%, 0%, 44.7%)
CIE-LABlab(26.35, 24.20, -50.70)
CIE-LCHlch(26.35, 56.18, 295.51°)
OKLaboklab(37.44% -0.006 -0.1465)
OKLCHoklch(37.44% 0.147 267.7)
XYZxyz(6.7209, 4.8678, 25.7795)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20368D #8D7720
analogous
#206D8D #20368D #41208D
triadic
#20368D #8D2036 #368D20
tetradic
#20368D #8D206D #8D7720 #208D41
square
#20368D #8D206D #8D7720 #208D41
split-complementary
#20368D #8D4120 #6D8D20
monochromatic
#091029 #15235B #20368D #2B49BF #506BD7

Accessibility & contrast

On white

10.64
#20368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#20368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20368D
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20368D#FFFFFF#000000##FFFFFF
##20368D1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20368d;
/* rgb */ color: rgb(32, 54, 141);
/* oklch */ color: oklch(37.4% 0.147 267.7);
Tailwind
colors: {
  custom: {
    50: '#6d6caf',
    500: '#20368d',
    950: '#000000',
  },
}
SCSS
$custom: #20368d;
$custom-light: #6d6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#20368d",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 227.89,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37437,
    "c": 0.14659,
    "h": 267.7
  },
  "luminance": 0.04868
}

Semantic roles & 50–950 ramp

primary
#20368D
secondary
#BAA54E
accent
#C542E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #20368D

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

Preview Lab → · Contrast checker → · Palette generator →

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