#202687#202687

#202687 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.158 H 271.7°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#202687
RGBrgb(32, 38, 135)
HSLhsl(237, 62%, 33%)
HSVhsv(237, 76%, 53%)
CMYKcmyk(76.3%, 71.9%, 0%, 47.1%)
CIE-LABlab(21.73, 32.61, -54.54)
CIE-LCHlch(21.73, 63.55, 300.88°)
OKLaboklab(33.88% 0.0047 -0.1578)
OKLCHoklch(33.88% 0.158 271.7)
XYZxyz(5.6605, 3.4420, 23.2830)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202687 #878120
analogous
#205987 #202687 #4D2087
triadic
#202687 #872026 #268720
tetradic
#202687 #872059 #878120 #20874D
square
#202687 #872059 #878120 #20874D
split-complementary
#202687 #874D20 #598720
monochromatic
#090A24 #141856 #202687 #2C34B8 #4D55D5

Accessibility & contrast

On white

12.44
#202687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#202687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202687
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202687#FFFFFF#000000##FFFFFF
##2026871.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#002F85
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202687;
/* rgb */ color: rgb(32, 38, 135);
/* oklch */ color: oklch(33.9% 0.158 271.7);
Tailwind
colors: {
  custom: {
    50: '#6d61ab',
    500: '#202687',
    950: '#000000',
  },
}
SCSS
$custom: #202687;
$custom-light: #6d61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#202687",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 236.505,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33878,
    "c": 0.15788,
    "h": 271.7
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#202687
secondary
#B8B14B
accent
#DB43E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202687

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

Preview Lab → · Contrast checker → · Palette generator →

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