#202640#202640

#202640 is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.6% C 0.049 H 273.0°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#202640
RGBrgb(32, 38, 64)
HSLhsl(229, 33%, 19%)
HSVhsv(229, 50%, 25%)
CMYKcmyk(50%, 40.6%, 0%, 74.9%)
CIE-LABlab(15.82, 5.65, -17.38)
CIE-LCHlch(15.82, 18.28, 288.02°)
OKLaboklab(27.63% 0.0025 -0.0489)
OKLCHoklch(27.63% 0.049 273)
XYZxyz(2.2139, 2.0634, 5.1311)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202640 #403A20
analogous
#203640 #202640 #2A2040
triadic
#202640 #402026 #264020
tetradic
#202640 #402036 #403A20 #20402A
square
#202640 #402036 #403A20 #20402A
split-complementary
#202640 #402A20 #364020
monochromatic
#0A0C14 #0C0E17 #202640 #343E69 #495692

Accessibility & contrast

On white

14.87
#202640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#202640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202640
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202640#FFFFFF#000000##FFFFFF
##2026401.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#1A263F
Tritanopia (blue-blind)
#152B30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #202640;
/* rgb */ color: rgb(32, 38, 64);
/* oklch */ color: oklch(27.6% 0.049 273.0);
Tailwind
colors: {
  custom: {
    50: '#5d6075',
    500: '#202640',
    950: '#000000',
  },
}
SCSS
$custom: #202640;
$custom-light: #5d6075;
$custom-dark: #000000;
JSON
{
  "hex": "#202640",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 64
  },
  "hsl": {
    "h": 228.75,
    "s": 33.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27633,
    "c": 0.04893,
    "h": 273
  },
  "luminance": 0.02063
}

Semantic roles & 50–950 ramp

primary
#202640
secondary
#746C48
accent
#B55EC9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #202640

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

Preview Lab → · Contrast checker → · Palette generator →

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