#202779#202779

#202779 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.138 H 272.3°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#202779
RGBrgb(32, 39, 121)
HSLhsl(235, 58%, 30%)
HSVhsv(235, 74%, 47%)
CMYKcmyk(73.6%, 67.8%, 0%, 52.5%)
CIE-LABlab(20.59, 26.73, -47.57)
CIE-LCHlch(20.59, 54.57, 299.34°)
OKLaboklab(32.62% 0.0055 -0.1374)
OKLCHoklch(32.62% 0.138 272.3)
XYZxyz(4.7712, 3.1381, 18.4397)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202779 #797220
analogous
#205379 #202779 #462079
triadic
#202779 #792027 #277920
tetradic
#202779 #792053 #797220 #207946
square
#202779 #792053 #797220 #207946
split-complementary
#202779 #794620 #537920
monochromatic
#060818 #131749 #202779 #2D37A9 #4550CE

Accessibility & contrast

On white

12.90
#202779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#202779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202779
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202779#FFFFFF#000000##FFFFFF
##2027791.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202779;
/* rgb */ color: rgb(32, 39, 121);
/* oklch */ color: oklch(32.6% 0.138 272.3);
Tailwind
colors: {
  custom: {
    50: '#6961a1',
    500: '#202779',
    950: '#000000',
  },
}
SCSS
$custom: #202779;
$custom-light: #6961a1;
$custom-dark: #000000;
JSON
{
  "hex": "#202779",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 235.281,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.32624,
    "c": 0.13754,
    "h": 272.3
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#202779
secondary
#ACA449
accent
#D546E1
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #202779

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

Preview Lab → · Contrast checker → · Palette generator →

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