#202682#202682

#202682 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.151 H 272.0°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#202682
RGBrgb(32, 38, 130)
HSLhsl(236, 60%, 32%)
HSVhsv(236, 75%, 51%)
CMYKcmyk(75.4%, 70.8%, 0%, 49%)
CIE-LABlab(21.22, 30.77, -52.23)
CIE-LCHlch(21.22, 60.62, 300.50°)
OKLaboklab(33.36% 0.0053 -0.1511)
OKLCHoklch(33.36% 0.151 272)
XYZxyz(5.3167, 3.3045, 21.4724)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202682 #827C20
analogous
#205782 #202682 #4B2082
triadic
#202682 #822026 #268220
tetradic
#202682 #822057 #827C20 #20824B
square
#202682 #822057 #827C20 #20824B
split-complementary
#202682 #824B20 #578220
monochromatic
#080920 #141851 #202682 #2C34B3 #4A52D2

Accessibility & contrast

On white

12.64
#202682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#202682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202682
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202682#FFFFFF#000000##FFFFFF
##2026821.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#002E80
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202682;
/* rgb */ color: rgb(32, 38, 130);
/* oklch */ color: oklch(33.4% 0.151 272.0);
Tailwind
colors: {
  custom: {
    50: '#6c61a7',
    500: '#202682',
    950: '#000000',
  },
}
SCSS
$custom: #202682;
$custom-light: #6c61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#202682",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 236.327,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33356,
    "c": 0.15117,
    "h": 272
  },
  "luminance": 0.03305
}

Semantic roles & 50–950 ramp

primary
#202682
secondary
#B5AE49
accent
#DA44E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202682

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

Preview Lab → · Contrast checker → · Palette generator →

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