#20368F#20368F

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

Color values

HEX#20368F
RGBrgb(32, 54, 143)
HSLhsl(228, 63%, 34%)
HSVhsv(228, 78%, 56%)
CMYKcmyk(77.6%, 62.2%, 0%, 43.9%)
CIE-LABlab(26.53, 24.98, -51.66)
CIE-LCHlch(26.53, 57.38, 295.81°)
OKLaboklab(37.62% -0.006 -0.1493)
OKLCHoklch(37.62% 0.149 267.7)
XYZxyz(6.8710, 4.9278, 26.5703)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20368F #8F7920
analogous
#206E8F #20368F #42208F
triadic
#20368F #8F2036 #368F20
tetradic
#20368F #8F206E #8F7920 #208F42
square
#20368F #8F206E #8F7920 #208F42
split-complementary
#20368F #8F4220 #6E8F20
monochromatic
#0A102B #15235D #20368F #2B49C1 #516CD8

Accessibility & contrast

On white

10.58
#20368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#20368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20368F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20368F#FFFFFF#000000##FFFFFF
##20368F1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #20368f;
/* rgb */ color: rgb(32, 54, 143);
/* oklch */ color: oklch(37.6% 0.149 267.7);
Tailwind
colors: {
  custom: {
    50: '#6e6cb1',
    500: '#20368f',
    950: '#000000',
  },
}
SCSS
$custom: #20368f;
$custom-light: #6e6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#20368f",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 228.108,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37619,
    "c": 0.14939,
    "h": 267.7
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#20368F
secondary
#BBA64F
accent
#C641E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #20368F

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

Preview Lab → · Contrast checker → · Palette generator →

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