#202D5D#202D5D

#202D5D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.087 H 269.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#202D5D
RGBrgb(32, 45, 93)
HSLhsl(227, 49%, 25%)
HSVhsv(227, 66%, 36%)
CMYKcmyk(65.6%, 51.6%, 0%, 63.5%)
CIE-LABlab(19.94, 11.58, -30.45)
CIE-LCHlch(19.94, 32.58, 290.82°)
OKLaboklab(31.41% -0.0008 -0.0871)
OKLCHoklch(31.41% 0.087 269.5)
XYZxyz(3.5092, 2.9739, 10.7429)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D5D #5D5020
analogous
#204C5D #202D5D #32205D
triadic
#202D5D #5D202D #2D5D20
tetradic
#202D5D #5D204C #5D5020 #205D32
square
#202D5D #5D204C #5D5020 #205D32
split-complementary
#202D5D #5D3220 #4C5D20
monochromatic
#080B17 #10172F #202D5D #30438B #3F59B8

Accessibility & contrast

On white

13.17
#202D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#202D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D5D
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D5D#FFFFFF#000000##FFFFFF
##202D5D1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335F
Deuteranopia (green-blind)
#0A2E5C
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #202d5d;
/* rgb */ color: rgb(32, 45, 93);
/* oklch */ color: oklch(31.4% 0.087 269.5);
Tailwind
colors: {
  custom: {
    50: '#62658b',
    500: '#202d5d',
    950: '#000000',
  },
}
SCSS
$custom: #202d5d;
$custom-light: #62658b;
$custom-dark: #000000;
JSON
{
  "hex": "#202d5d",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 227.213,
    "s": 48.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31406,
    "c": 0.08707,
    "h": 269.5
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#202D5D
secondary
#918247
accent
#BB4FD8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #202D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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