#202272#202272

#202272 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.134 H 274.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#202272
RGBrgb(32, 34, 114)
HSLhsl(239, 56%, 29%)
HSVhsv(239, 72%, 45%)
CMYKcmyk(71.9%, 70.2%, 0%, 55.3%)
CIE-LABlab(18.65, 27.46, -46.25)
CIE-LCHlch(18.65, 53.79, 300.70°)
OKLaboklab(31.01% 0.0099 -0.1336)
OKLCHoklch(31.01% 0.134 274.3)
XYZxyz(4.2039, 2.6656, 16.2093)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202272 #727020
analogous
#204B72 #202272 #472072
triadic
#202272 #722022 #227220
tetradic
#202272 #72204B #727020 #207247
square
#202272 #72204B #727020 #207247
split-complementary
#202272 #724720 #4B7220
monochromatic
#070718 #131442 #202272 #2D30A2 #4246CA

Accessibility & contrast

On white

13.70
#202272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#202272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202272
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202272#FFFFFF#000000##FFFFFF
##2022721.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #202272;
/* rgb */ color: rgb(32, 34, 114);
/* oklch */ color: oklch(31.0% 0.134 274.3);
Tailwind
colors: {
  custom: {
    50: '#685d9b',
    500: '#202272',
    950: '#000000',
  },
}
SCSS
$custom: #202272;
$custom-light: #685d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#202272",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 238.537,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31007,
    "c": 0.13397,
    "h": 274.3
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#202272
secondary
#A6A348
accent
#DC48DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #202272

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

Preview Lab → · Contrast checker → · Palette generator →

#202272 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva