#20195A#20195A

#20195A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 27.0% C 0.111 H 280.7°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#20195A
RGBrgb(32, 25, 90)
HSLhsl(246, 57%, 23%)
HSVhsv(246, 72%, 35%)
CMYKcmyk(64.4%, 72.2%, 0%, 64.7%)
CIE-LABlab(14.06, 24.63, -37.98)
CIE-LCHlch(14.06, 45.27, 302.96°)
OKLaboklab(26.96% 0.0208 -0.1094)
OKLCHoklch(26.96% 0.111 280.7)
XYZxyz(2.7882, 1.7403, 9.8599)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20195A #535A19
analogous
#19325A #20195A #41195A
triadic
#20195A #5A2019 #195A20
tetradic
#20195A #5A1932 #535A19 #195A41
square
#20195A #5A1932 #535A19 #195A41
split-complementary
#20195A #5A4119 #325A19
monochromatic
#090718 #0F0C2A #20195A #31268A #4234BA

Accessibility & contrast

On white

15.58
#20195A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20195A
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20195A#FFFFFF#000000##FFFFFF
##20195A1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002159
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #20195a;
/* rgb */ color: rgb(32, 25, 90);
/* oklch */ color: oklch(27.0% 0.111 280.7);
Tailwind
colors: {
  custom: {
    50: '#635689',
    500: '#20195a',
    950: '#000000',
  },
}
SCSS
$custom: #20195a;
$custom-light: #635689;
$custom-dark: #000000;
JSON
{
  "hex": "#20195a",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 90
  },
  "hsl": {
    "h": 246.462,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26959,
    "c": 0.11134,
    "h": 280.7
  },
  "luminance": 0.01741
}

Semantic roles & 50–950 ramp

primary
#20195A
secondary
#87903E
accent
#E048CF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #20195A

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

Preview Lab → · Contrast checker → · Palette generator →

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