#20368A#20368A

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

Color values

HEX#20368A
RGBrgb(32, 54, 138)
HSLhsl(228, 62%, 33%)
HSVhsv(228, 77%, 54%)
CMYKcmyk(76.8%, 60.9%, 0%, 45.9%)
CIE-LABlab(26.10, 23.02, -49.26)
CIE-LCHlch(26.10, 54.38, 295.05°)
OKLaboklab(37.17% -0.006 -0.1422)
OKLCHoklch(37.17% 0.142 267.6)
XYZxyz(6.5007, 4.7797, 24.6198)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20368A #8A7420
analogous
#206B8A #20368A #3F208A
triadic
#20368A #8A2036 #368A20
tetradic
#20368A #8A206B #8A7420 #208A3F
square
#20368A #8A206B #8A7420 #208A3F
split-complementary
#20368A #8A3F20 #6B8A20
monochromatic
#090F27 #142358 #20368A #2C49BC #4E6BD6

Accessibility & contrast

On white

10.74
#20368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20368A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20368A#FFFFFF#000000##FFFFFF
##20368A1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20368a;
/* rgb */ color: rgb(32, 54, 138);
/* oklch */ color: oklch(37.2% 0.142 267.6);
Tailwind
colors: {
  custom: {
    50: '#6c6cad',
    500: '#20368a',
    950: '#000000',
  },
}
SCSS
$custom: #20368a;
$custom-light: #6c6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#20368a",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 227.547,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37165,
    "c": 0.14237,
    "h": 267.6
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#20368A
secondary
#B9A34D
accent
#C442E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #20368A

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

Preview Lab → · Contrast checker → · Palette generator →

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