#202A50#202A50

#202A50 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.070 H 270.5°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#202A50
RGBrgb(32, 42, 80)
HSLhsl(228, 43%, 22%)
HSVhsv(228, 60%, 31%)
CMYKcmyk(60%, 47.5%, 0%, 68.6%)
CIE-LABlab(18.11, 8.70, -24.71)
CIE-LCHlch(18.11, 26.19, 289.41°)
OKLaboklab(29.72% 0.0007 -0.0702)
OKLCHoklch(29.72% 0.07 270.5)
XYZxyz(2.8711, 2.5420, 7.9272)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A50 #504620
analogous
#204250 #202A50 #2E2050
triadic
#202A50 #50202A #2A5020
tetradic
#202A50 #502042 #504620 #20502E
square
#202A50 #502042 #504620 #20502E
split-complementary
#202A50 #502E20 #425020
monochromatic
#090B16 #0F1324 #202A50 #31417C #4358A7

Accessibility & contrast

On white

13.92
#202A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#202A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A50
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A50#FFFFFF#000000##FFFFFF
##202A501.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E51
Deuteranopia (green-blind)
#142A4F
Tritanopia (blue-blind)
#073239
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #202a50;
/* rgb */ color: rgb(32, 42, 80);
/* oklch */ color: oklch(29.7% 0.070 270.5);
Tailwind
colors: {
  custom: {
    50: '#606381',
    500: '#202a50',
    950: '#000000',
  },
}
SCSS
$custom: #202a50;
$custom-light: #606381;
$custom-dark: #000000;
JSON
{
  "hex": "#202a50",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 80
  },
  "hsl": {
    "h": 227.5,
    "s": 42.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29719,
    "c": 0.07023,
    "h": 270.5
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#202A50
secondary
#847847
accent
#B855D3
background
#F5F5F7
surface
#EAEAEE
border
#C6C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #202A50

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

Preview Lab → · Contrast checker → · Palette generator →

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