#202774#202774

#202774 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.130 H 272.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#202774
RGBrgb(32, 39, 116)
HSLhsl(235, 57%, 29%)
HSVhsv(235, 72%, 45%)
CMYKcmyk(72.4%, 66.4%, 0%, 54.5%)
CIE-LABlab(20.12, 24.83, -45.14)
CIE-LCHlch(20.12, 51.52, 298.81°)
OKLaboklab(32.14% 0.0059 -0.1303)
OKLCHoklch(32.14% 0.13 272.6)
XYZxyz(4.4725, 3.0186, 16.8666)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202774 #746D20
analogous
#205174 #202774 #432074
triadic
#202774 #742027 #277420
tetradic
#202774 #742051 #746D20 #207443
square
#202774 #742051 #746D20 #207443
split-complementary
#202774 #744320 #517420
monochromatic
#070818 #131744 #202774 #2D37A4 #434FCB

Accessibility & contrast

On white

13.09
#202774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#202774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202774
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202774#FFFFFF#000000##FFFFFF
##2027741.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202774;
/* rgb */ color: rgb(32, 39, 116);
/* oklch */ color: oklch(32.1% 0.130 272.6);
Tailwind
colors: {
  custom: {
    50: '#68619d',
    500: '#202774',
    950: '#000000',
  },
}
SCSS
$custom: #202774;
$custom-light: #68619d;
$custom-dark: #000000;
JSON
{
  "hex": "#202774",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 235,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32135,
    "c": 0.13044,
    "h": 272.6
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#202774
secondary
#A8A048
accent
#D348E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202774

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

Preview Lab → · Contrast checker → · Palette generator →

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