#202A5A#202A5A

#202A5A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.087 H 271.5°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#202A5A
RGBrgb(32, 42, 90)
HSLhsl(230, 48%, 24%)
HSVhsv(230, 64%, 35%)
CMYKcmyk(64.4%, 53.3%, 0%, 64.7%)
CIE-LABlab(18.80, 12.58, -30.29)
CIE-LCHlch(18.80, 32.80, 292.55°)
OKLaboklab(30.48% 0.0023 -0.0866)
OKLCHoklch(30.48% 0.087 271.5)
XYZxyz(3.2685, 2.7009, 10.0200)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A5A #5A5020
analogous
#20475A #202A5A #33205A
triadic
#202A5A #5A202A #2A5A20
tetradic
#202A5A #5A2047 #5A5020 #205A33
square
#202A5A #5A2047 #5A5020 #205A33
split-complementary
#202A5A #5A3320 #475A20
monochromatic
#080B17 #10152D #202A5A #303F87 #4054B4

Accessibility & contrast

On white

13.63
#202A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#202A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A5A
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A5A#FFFFFF#000000##FFFFFF
##202A5A1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11305C
Deuteranopia (green-blind)
#062B59
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202a5a;
/* rgb */ color: rgb(32, 42, 90);
/* oklch */ color: oklch(30.5% 0.087 271.5);
Tailwind
colors: {
  custom: {
    50: '#626389',
    500: '#202a5a',
    950: '#000000',
  },
}
SCSS
$custom: #202a5a;
$custom-light: #626389;
$custom-dark: #000000;
JSON
{
  "hex": "#202a5a",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 229.655,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30475,
    "c": 0.08666,
    "h": 271.5
  },
  "luminance": 0.02701
}

Semantic roles & 50–950 ramp

primary
#202A5A
secondary
#8E8247
accent
#C051D7
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050B
muted
#7A797C

Preview Lab

Preview with #202A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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