#202A5C#202A5C

#202A5C is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.090 H 271.6°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#202A5C
RGBrgb(32, 42, 92)
HSLhsl(230, 48%, 24%)
HSVhsv(230, 65%, 36%)
CMYKcmyk(65.2%, 54.3%, 0%, 63.9%)
CIE-LABlab(18.95, 13.36, -31.38)
CIE-LCHlch(18.95, 34.10, 293.06°)
OKLaboklab(30.63% 0.0025 -0.0898)
OKLCHoklch(30.63% 0.09 271.6)
XYZxyz(3.3548, 2.7354, 10.4743)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A5C #5C5220
analogous
#20485C #202A5C #34205C
triadic
#202A5C #5C202A #2A5C20
tetradic
#202A5C #5C2048 #5C5220 #205C34
square
#202A5C #5C2048 #5C5220 #205C34
split-complementary
#202A5C #5C3420 #485C20
monochromatic
#080A17 #10152F #202A5C #303F89 #4053B7

Accessibility & contrast

On white

13.57
#202A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#202A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A5C
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A5C#FFFFFF#000000##FFFFFF
##202A5C1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F315E
Deuteranopia (green-blind)
#032C5B
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202a5c;
/* rgb */ color: rgb(32, 42, 92);
/* oklch */ color: oklch(30.6% 0.090 271.6);
Tailwind
colors: {
  custom: {
    50: '#62638a',
    500: '#202a5c',
    950: '#000000',
  },
}
SCSS
$custom: #202a5c;
$custom-light: #62638a;
$custom-dark: #000000;
JSON
{
  "hex": "#202a5c",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 230,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30634,
    "c": 0.08987,
    "h": 271.6
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#202A5C
secondary
#908447
accent
#C150D8
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #202A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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