#202273#202273

#202273 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.135 H 274.2°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#202273
RGBrgb(32, 34, 115)
HSLhsl(239, 56%, 29%)
HSVhsv(239, 72%, 45%)
CMYKcmyk(72.2%, 70.4%, 0%, 54.9%)
CIE-LABlab(18.75, 27.84, -46.74)
CIE-LCHlch(18.75, 54.40, 300.78°)
OKLaboklab(31.11% 0.0098 -0.135)
OKLCHoklch(31.11% 0.135 274.2)
XYZxyz(4.2612, 2.6885, 16.5107)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202273 #737120
analogous
#204C73 #202273 #482073
triadic
#202273 #732022 #227320
tetradic
#202273 #73204C #737120 #207348
square
#202273 #73204C #737120 #207348
split-complementary
#202273 #734820 #4C7320
monochromatic
#070718 #131443 #202273 #2D30A3 #4346CB

Accessibility & contrast

On white

13.66
#202273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#202273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202273
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202273#FFFFFF#000000##FFFFFF
##2022731.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202273;
/* rgb */ color: rgb(32, 34, 115);
/* oklch */ color: oklch(31.1% 0.135 274.2);
Tailwind
colors: {
  custom: {
    50: '#685d9c',
    500: '#202273',
    950: '#000000',
  },
}
SCSS
$custom: #202273;
$custom-light: #685d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#202273",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 238.554,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31109,
    "c": 0.13537,
    "h": 274.2
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#202273
secondary
#A7A448
accent
#DC48E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #202273

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

Preview Lab → · Contrast checker → · Palette generator →

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