#20225B#20225B

#20225B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.100 H 276.6°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#20225B
RGBrgb(32, 34, 91)
HSLhsl(238, 48%, 24%)
HSVhsv(238, 65%, 36%)
CMYKcmyk(64.8%, 62.6%, 0%, 64.3%)
CIE-LABlab(16.53, 18.75, -34.62)
CIE-LCHlch(16.53, 39.37, 298.44°)
OKLaboklab(28.8% 0.0115 -0.0995)
OKLCHoklch(28.8% 0.1 276.6)
XYZxyz(3.0554, 2.2062, 10.1603)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20225B #5B5920
analogous
#20405B #20225B #3C205B
triadic
#20225B #5B2022 #225B20
tetradic
#20225B #5B2040 #5B5920 #205B3C
square
#20225B #5B2040 #5B5920 #205B3C
split-complementary
#20225B #5B3C20 #405B20
monochromatic
#080817 #10112E #20225B #303388 #4044B6

Accessibility & contrast

On white

14.57
#20225B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#20225B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20225B
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20225B#FFFFFF#000000##FFFFFF
##20225B1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#00303A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #20225b;
/* rgb */ color: rgb(32, 34, 91);
/* oklch */ color: oklch(28.8% 0.100 276.6);
Tailwind
colors: {
  custom: {
    50: '#635d8a',
    500: '#20225b',
    950: '#000000',
  },
}
SCSS
$custom: #20225b;
$custom-light: #635d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#20225b",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 237.966,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28798,
    "c": 0.10013,
    "h": 276.6
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#20225B
secondary
#8F8D47
accent
#D350D8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #20225B

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

Preview Lab → · Contrast checker → · Palette generator →

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