#20195D#20195D

#20195D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.3% C 0.116 H 280.1°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#20195D
RGBrgb(32, 25, 93)
HSLhsl(246, 58%, 23%)
HSVhsv(246, 73%, 36%)
CMYKcmyk(65.6%, 73.1%, 0%, 63.5%)
CIE-LABlab(14.36, 25.72, -39.51)
CIE-LCHlch(14.36, 47.14, 303.06°)
OKLaboklab(27.27% 0.0203 -0.1139)
OKLCHoklch(27.27% 0.116 280.1)
XYZxyz(2.9185, 1.7924, 10.5460)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20195D #565D19
analogous
#19345D #20195D #42195D
triadic
#20195D #5D2019 #195D20
tetradic
#20195D #5D1934 #565D19 #195D42
square
#20195D #5D1934 #565D19 #195D42
split-complementary
#20195D #5D4219 #345D19
monochromatic
#080618 #0F0C2D #20195D #31268D #4133BD

Accessibility & contrast

On white

15.46
#20195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#20195D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20195D
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20195D#FFFFFF#000000##FFFFFF
##20195D1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #20195d;
/* rgb */ color: rgb(32, 25, 93);
/* oklch */ color: oklch(27.3% 0.116 280.1);
Tailwind
colors: {
  custom: {
    50: '#64568c',
    500: '#20195d',
    950: '#000000',
  },
}
SCSS
$custom: #20195d;
$custom-light: #64568c;
$custom-dark: #000000;
JSON
{
  "hex": "#20195d",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 246.176,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27265,
    "c": 0.11565,
    "h": 280.1
  },
  "luminance": 0.01793
}

Semantic roles & 50–950 ramp

primary
#20195D
secondary
#8B933F
accent
#E147D1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #20195D

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

Preview Lab → · Contrast checker → · Palette generator →

#20195D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva