#20225D#20225D

#20225D is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.0% C 0.103 H 276.4°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#20225D
RGBrgb(32, 34, 93)
HSLhsl(238, 49%, 25%)
HSVhsv(238, 66%, 36%)
CMYKcmyk(65.6%, 63.4%, 0%, 63.5%)
CIE-LABlab(16.71, 19.51, -35.68)
CIE-LCHlch(16.71, 40.66, 298.67°)
OKLaboklab(28.98% 0.0114 -0.1026)
OKLCHoklch(28.98% 0.103 276.4)
XYZxyz(3.1428, 2.2412, 10.6208)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20225D #5D5B20
analogous
#20415D #20225D #3D205D
triadic
#20225D #5D2022 #225D20
tetradic
#20225D #5D2041 #5D5B20 #205D3D
square
#20225D #5D2041 #5D5B20 #205D3D
split-complementary
#20225D #5D3D20 #415D20
monochromatic
#080817 #10112F #20225D #30338B #3F43B8

Accessibility & contrast

On white

14.50
#20225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#20225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20225D
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20225D#FFFFFF#000000##FFFFFF
##20225D1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #20225d;
/* rgb */ color: rgb(32, 34, 93);
/* oklch */ color: oklch(29.0% 0.103 276.4);
Tailwind
colors: {
  custom: {
    50: '#635d8b',
    500: '#20225d',
    950: '#000000',
  },
}
SCSS
$custom: #20225d;
$custom-light: #635d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#20225d",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 238.033,
    "s": 48.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28978,
    "c": 0.10321,
    "h": 276.4
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#20225D
secondary
#918F47
accent
#D44FD8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #20225D

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

Preview Lab → · Contrast checker → · Palette generator →

#20225D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva