#20195F#20195F

#20195F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.5% C 0.118 H 279.7°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#20195F
RGBrgb(32, 25, 95)
HSLhsl(246, 58%, 24%)
HSVhsv(246, 74%, 37%)
CMYKcmyk(66.3%, 73.7%, 0%, 62.7%)
CIE-LABlab(14.56, 26.44, -40.51)
CIE-LCHlch(14.56, 48.38, 303.13°)
OKLaboklab(27.47% 0.0199 -0.1168)
OKLCHoklch(27.47% 0.118 279.7)
XYZxyz(3.0082, 1.8283, 11.0186)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20195F #585F19
analogous
#19355F #20195F #43195F
triadic
#20195F #5F2019 #195F20
tetradic
#20195F #5F1935 #585F19 #195F43
square
#20195F #5F1935 #585F19 #195F43
split-complementary
#20195F #5F4319 #355F19
monochromatic
#080618 #100C2F #20195F #30268F #4132C0

Accessibility & contrast

On white

15.38
#20195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#20195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20195F
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20195F#FFFFFF#000000##FFFFFF
##20195F1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00225E
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #20195f;
/* rgb */ color: rgb(32, 25, 95);
/* oklch */ color: oklch(27.5% 0.118 279.7);
Tailwind
colors: {
  custom: {
    50: '#64568d',
    500: '#20195f',
    950: '#000000',
  },
}
SCSS
$custom: #20195f;
$custom-light: #64568d;
$custom-dark: #000000;
JSON
{
  "hex": "#20195f",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 246,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27471,
    "c": 0.11849,
    "h": 279.7
  },
  "luminance": 0.01829
}

Semantic roles & 50–950 ramp

primary
#20195F
secondary
#8C953F
accent
#E246D2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #20195F

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

Preview Lab → · Contrast checker → · Palette generator →

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