#20395F#20395F

#20395F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.5% C 0.074 H 258.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#20395F
RGBrgb(32, 57, 95)
HSLhsl(216, 50%, 25%)
HSVhsv(216, 66%, 37%)
CMYKcmyk(66.3%, 40%, 0%, 62.7%)
CIE-LABlab(23.87, 3.85, -25.50)
CIE-LCHlch(23.87, 25.79, 278.59°)
OKLaboklab(34.47% -0.0147 -0.0724)
OKLCHoklch(34.47% 0.074 258.5)
XYZxyz(4.1236, 4.0592, 11.3904)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20395F #5F4620
analogous
#20595F #20395F #26205F
triadic
#20395F #5F2039 #395F20
tetradic
#20395F #5F2059 #5F4620 #205F26
square
#20395F #5F2059 #5F4620 #205F26
split-complementary
#20395F #5F2620 #595F20
monochromatic
#080E17 #111E31 #20395F #2F548D #3F70BB

Accessibility & contrast

On white

11.59
#20395F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#20395F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20395F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20395F#FFFFFF#000000##FFFFFF
##20395F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#20365E
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20395f;
/* rgb */ color: rgb(32, 57, 95);
/* oklch */ color: oklch(34.5% 0.074 258.5);
Tailwind
colors: {
  custom: {
    50: '#626f8c',
    500: '#20395f',
    950: '#000000',
  },
}
SCSS
$custom: #20395f;
$custom-light: #626f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#20395f",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 95
  },
  "hsl": {
    "h": 216.19,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34472,
    "c": 0.07384,
    "h": 258.5
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#20395F
secondary
#937547
accent
#A24FD9
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #20395F

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

Preview Lab → · Contrast checker → · Palette generator →

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