#202795#202795

#202795 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.175 H 270.7°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#202795
RGBrgb(32, 39, 149)
HSLhsl(236, 65%, 35%)
HSVhsv(236, 79%, 58%)
CMYKcmyk(78.5%, 73.8%, 0%, 41.6%)
CIE-LABlab(23.43, 37.04, -60.45)
CIE-LCHlch(23.43, 70.89, 301.50°)
OKLaboklab(35.54% 0.0022 -0.175)
OKLCHoklch(35.54% 0.175 270.7)
XYZxyz(6.7442, 3.9273, 28.8305)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202795 #958E20
analogous
#206195 #202795 #532095
triadic
#202795 #952027 #279520
tetradic
#202795 #952061 #958E20 #209553
square
#202795 #952061 #958E20 #209553
split-complementary
#202795 #955320 #619520
monochromatic
#0A0D30 #151A63 #202795 #2B34C7 #555DDA

Accessibility & contrast

On white

11.76
#202795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#202795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202795
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202795#FFFFFF#000000##FFFFFF
##2027951.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202795;
/* rgb */ color: rgb(32, 39, 149);
/* oklch */ color: oklch(35.5% 0.175 270.7);
Tailwind
colors: {
  custom: {
    50: '#7162b5',
    500: '#202795',
    950: '#000000',
  },
}
SCSS
$custom: #202795;
$custom-light: #7162b5;
$custom-dark: #000000;
JSON
{
  "hex": "#202795",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 236.41,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35536,
    "c": 0.17503,
    "h": 270.7
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

primary
#202795
secondary
#BEB853
accent
#DE40E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202795

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

Preview Lab → · Contrast checker → · Palette generator →

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