#20375E#20375E

#20375E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.9% C 0.075 H 260.4°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#20375E
RGBrgb(32, 55, 94)
HSLhsl(218, 49%, 25%)
HSVhsv(218, 66%, 37%)
CMYKcmyk(66%, 41.5%, 0%, 63.1%)
CIE-LABlab(23.16, 4.86, -25.97)
CIE-LCHlch(23.16, 26.42, 280.59°)
OKLaboklab(33.9% -0.0125 -0.0738)
OKLCHoklch(33.9% 0.075 260.4)
XYZxyz(3.9815, 3.8472, 11.1203)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20375E #5E4720
analogous
#20565E #20375E #28205E
triadic
#20375E #5E2037 #375E20
tetradic
#20375E #5E2056 #5E4720 #205E28
square
#20375E #5E2056 #5E4720 #205E28
split-complementary
#20375E #5E2820 #565E20
monochromatic
#080D17 #101C30 #20375E #30528C #3F6CB9

Accessibility & contrast

On white

11.87
#20375E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#20375E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20375E
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20375E#FFFFFF#000000##FFFFFF
##20375E1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A60
Deuteranopia (green-blind)
#1E355D
Tritanopia (blue-blind)
#004046
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #20375e;
/* rgb */ color: rgb(32, 55, 94);
/* oklch */ color: oklch(33.9% 0.075 260.4);
Tailwind
colors: {
  custom: {
    50: '#626d8c',
    500: '#20375e',
    950: '#000000',
  },
}
SCSS
$custom: #20375e;
$custom-light: #626d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#20375e",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 94
  },
  "hsl": {
    "h": 217.742,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33903,
    "c": 0.07483,
    "h": 260.4
  },
  "luminance": 0.03848
}

Semantic roles & 50–950 ramp

primary
#20375E
secondary
#927747
accent
#A64FD9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #20375E

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

Preview Lab → · Contrast checker → · Palette generator →

#20375E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva