#20195E#20195E

#20195E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.4% C 0.117 H 279.9°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#20195E
RGBrgb(32, 25, 94)
HSLhsl(246, 58%, 23%)
HSVhsv(246, 73%, 37%)
CMYKcmyk(66%, 73.4%, 0%, 63.1%)
CIE-LABlab(14.46, 26.08, -40.01)
CIE-LCHlch(14.46, 47.76, 303.09°)
OKLaboklab(27.37% 0.0201 -0.1153)
OKLCHoklch(27.37% 0.117 279.9)
XYZxyz(2.9630, 1.8103, 10.7808)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20195E #575E19
analogous
#19345E #20195E #42195E
triadic
#20195E #5E2019 #195E20
tetradic
#20195E #5E1934 #575E19 #195E42
square
#20195E #5E1934 #575E19 #195E42
split-complementary
#20195E #5E4219 #345E19
monochromatic
#080618 #100C2E #20195E #30268E #4133BF

Accessibility & contrast

On white

15.42
#20195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20195E
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20195E#FFFFFF#000000##FFFFFF
##20195E1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00225D
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #20195e;
/* rgb */ color: rgb(32, 25, 94);
/* oklch */ color: oklch(27.4% 0.117 279.9);
Tailwind
colors: {
  custom: {
    50: '#64568c',
    500: '#20195e',
    950: '#000000',
  },
}
SCSS
$custom: #20195e;
$custom-light: #64568c;
$custom-dark: #000000;
JSON
{
  "hex": "#20195e",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 246.087,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27368,
    "c": 0.11707,
    "h": 279.9
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#20195E
secondary
#8B943F
accent
#E147D2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #20195E

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

Preview Lab → · Contrast checker → · Palette generator →

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