#20368C#20368C

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

Color values

HEX#20368C
RGBrgb(32, 54, 140)
HSLhsl(228, 63%, 34%)
HSVhsv(228, 77%, 55%)
CMYKcmyk(77.1%, 61.4%, 0%, 45.1%)
CIE-LABlab(26.27, 23.81, -50.22)
CIE-LCHlch(26.27, 55.58, 295.36°)
OKLaboklab(37.35% -0.006 -0.1451)
OKLCHoklch(37.35% 0.145 267.6)
XYZxyz(6.6468, 4.8381, 25.3894)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20368C #8C7620
analogous
#206C8C #20368C #40208C
triadic
#20368C #8C2036 #368C20
tetradic
#20368C #8C206C #8C7620 #208C40
square
#20368C #8C206C #8C7620 #208C40
split-complementary
#20368C #8C4020 #6C8C20
monochromatic
#091028 #15235A #20368C #2B49BE #506BD7

Accessibility & contrast

On white

10.67
#20368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20368C
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20368C#FFFFFF#000000##FFFFFF
##20368C1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20368c;
/* rgb */ color: rgb(32, 54, 140);
/* oklch */ color: oklch(37.3% 0.145 267.6);
Tailwind
colors: {
  custom: {
    50: '#6d6cae',
    500: '#20368c',
    950: '#000000',
  },
}
SCSS
$custom: #20368c;
$custom-light: #6d6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#20368c",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 227.778,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37346,
    "c": 0.14518,
    "h": 267.6
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20368C

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

Preview Lab → · Contrast checker → · Palette generator →

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