#202D5F#202D5F

#202D5F is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.090 H 269.7°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#202D5F
RGBrgb(32, 45, 95)
HSLhsl(228, 50%, 25%)
HSVhsv(228, 66%, 37%)
CMYKcmyk(66.3%, 52.6%, 0%, 62.7%)
CIE-LABlab(20.08, 12.37, -31.54)
CIE-LCHlch(20.08, 33.88, 291.41°)
OKLaboklab(31.56% -0.0005 -0.0903)
OKLCHoklch(31.56% 0.09 269.7)
XYZxyz(3.5989, 3.0098, 11.2155)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D5F #5F5220
analogous
#204D5F #202D5F #33205F
triadic
#202D5F #5F202D #2D5F20
tetradic
#202D5F #5F204D #5F5220 #205F33
square
#202D5F #5F204D #5F5220 #205F33
split-complementary
#202D5F #5F3320 #4D5F20
monochromatic
#080B17 #111731 #202D5F #2F438D #3F58BB

Accessibility & contrast

On white

13.11
#202D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#202D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D5F
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D5F#FFFFFF#000000##FFFFFF
##202D5F1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133361
Deuteranopia (green-blind)
#062E5E
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #202d5f;
/* rgb */ color: rgb(32, 45, 95);
/* oklch */ color: oklch(31.6% 0.090 269.7);
Tailwind
colors: {
  custom: {
    50: '#63658d',
    500: '#202d5f',
    950: '#000000',
  },
}
SCSS
$custom: #202d5f;
$custom-light: #63658d;
$custom-dark: #000000;
JSON
{
  "hex": "#202d5f",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 227.619,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31562,
    "c": 0.09027,
    "h": 269.7
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#202D5F
secondary
#938447
accent
#BD4FD9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #202D5F

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

Preview Lab → · Contrast checker → · Palette generator →

#202D5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva