#20195B#20195B

#20195B is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.1% C 0.113 H 280.5°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#20195B
RGBrgb(32, 25, 91)
HSLhsl(246, 57%, 23%)
HSVhsv(246, 73%, 36%)
CMYKcmyk(64.8%, 72.5%, 0%, 64.3%)
CIE-LABlab(14.16, 24.99, -38.49)
CIE-LCHlch(14.16, 45.89, 302.99°)
OKLaboklab(27.06% 0.0206 -0.1109)
OKLCHoklch(27.06% 0.113 280.5)
XYZxyz(2.8310, 1.7575, 10.0855)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20195B #545B19
analogous
#19335B #20195B #41195B
triadic
#20195B #5B2019 #195B20
tetradic
#20195B #5B1933 #545B19 #195B41
square
#20195B #5B1933 #545B19 #195B41
split-complementary
#20195B #5B4119 #335B19
monochromatic
#080718 #0F0C2B #20195B #31268B #4233BB

Accessibility & contrast

On white

15.54
#20195B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#20195B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20195B
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20195B#FFFFFF#000000##FFFFFF
##20195B1.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00215A
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #20195b;
/* rgb */ color: rgb(32, 25, 91);
/* oklch */ color: oklch(27.1% 0.113 280.5);
Tailwind
colors: {
  custom: {
    50: '#64568a',
    500: '#20195b',
    950: '#000000',
  },
}
SCSS
$custom: #20195b;
$custom-light: #64568a;
$custom-dark: #000000;
JSON
{
  "hex": "#20195b",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 91
  },
  "hsl": {
    "h": 246.364,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27061,
    "c": 0.11279,
    "h": 280.5
  },
  "luminance": 0.01758
}

Semantic roles & 50–950 ramp

primary
#20195B
secondary
#89913F
accent
#E048D0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #20195B

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

Preview Lab → · Contrast checker → · Palette generator →

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