#20225A#20225A

#20225A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.099 H 276.7°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#20225A
RGBrgb(32, 34, 90)
HSLhsl(238, 48%, 24%)
HSVhsv(238, 64%, 35%)
CMYKcmyk(64.4%, 62.2%, 0%, 64.7%)
CIE-LABlab(16.45, 18.37, -34.09)
CIE-LCHlch(16.45, 38.72, 298.31°)
OKLaboklab(28.71% 0.0115 -0.0979)
OKLCHoklch(28.71% 0.099 276.7)
XYZxyz(3.0126, 2.1891, 9.9347)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20225A #5A5820
analogous
#203F5A #20225A #3B205A
triadic
#20225A #5A2022 #225A20
tetradic
#20225A #5A203F #5A5820 #205A3B
square
#20225A #5A203F #5A5820 #205A3B
split-complementary
#20225A #5A3B20 #3F5A20
monochromatic
#080917 #10112D #20225A #303387 #4044B4

Accessibility & contrast

On white

14.61
#20225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20225A
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20225A#FFFFFF#000000##FFFFFF
##20225A1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20225a;
/* rgb */ color: rgb(32, 34, 90);
/* oklch */ color: oklch(28.7% 0.099 276.7);
Tailwind
colors: {
  custom: {
    50: '#625d89',
    500: '#20225a',
    950: '#000000',
  },
}
SCSS
$custom: #20225a;
$custom-light: #625d89;
$custom-dark: #000000;
JSON
{
  "hex": "#20225a",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 237.931,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28709,
    "c": 0.09858,
    "h": 276.7
  },
  "luminance": 0.02189
}

Semantic roles & 50–950 ramp

primary
#20225A
secondary
#8E8C47
accent
#D351D7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040B
muted
#7A797C

Preview Lab

Preview with #20225A

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

Preview Lab → · Contrast checker → · Palette generator →

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