#20215A#20215A

#20215A is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.100 H 277.2°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#20215A
RGBrgb(32, 33, 90)
HSLhsl(239, 48%, 24%)
HSVhsv(239, 64%, 35%)
CMYKcmyk(64.4%, 63.3%, 0%, 64.7%)
CIE-LABlab(16.17, 19.08, -34.55)
CIE-LCHlch(16.17, 39.46, 298.91°)
OKLaboklab(28.5% 0.0126 -0.0993)
OKLCHoklch(28.5% 0.1 277.2)
XYZxyz(2.9844, 2.1328, 9.9253)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20215A #5A5920
analogous
#203E5A #20215A #3C205A
triadic
#20215A #5A2021 #215A20
tetradic
#20215A #5A203E #5A5920 #205A3C
square
#20215A #5A203E #5A5920 #205A3C
split-complementary
#20215A #5A3C20 #3E5A20
monochromatic
#080817 #10102D #20215A #303287 #4042B4

Accessibility & contrast

On white

14.72
#20215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#20215A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20215A
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20215A#FFFFFF#000000##FFFFFF
##20215A1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #20215a;
/* rgb */ color: rgb(32, 33, 90);
/* oklch */ color: oklch(28.5% 0.100 277.2);
Tailwind
colors: {
  custom: {
    50: '#625c89',
    500: '#20215a',
    950: '#000000',
  },
}
SCSS
$custom: #20215a;
$custom-light: #625c89;
$custom-dark: #000000;
JSON
{
  "hex": "#20215a",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 238.966,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28501,
    "c": 0.10005,
    "h": 277.2
  },
  "luminance": 0.02133
}

Semantic roles & 50–950 ramp

primary
#20215A
secondary
#8E8D47
accent
#D551D7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #20215A

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

Preview Lab → · Contrast checker → · Palette generator →

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