#202452#202452

#202452 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.083 H 276.1°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#202452
RGBrgb(32, 36, 82)
HSLhsl(235, 44%, 22%)
HSVhsv(235, 61%, 32%)
CMYKcmyk(61%, 56.1%, 0%, 67.8%)
CIE-LABlab(16.39, 13.85, -28.80)
CIE-LCHlch(16.39, 31.96, 295.68°)
OKLaboklab(28.46% 0.0087 -0.0823)
OKLCHoklch(28.46% 0.083 276.1)
XYZxyz(2.7490, 2.1778, 8.2565)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202452 #524E20
analogous
#203D52 #202452 #352052
triadic
#202452 #522024 #245220
tetradic
#202452 #52203D #524E20 #205235
square
#202452 #52203D #524E20 #205235
split-complementary
#202452 #523520 #3D5220
monochromatic
#090A16 #0F1126 #202452 #31377E #424BAA

Accessibility & contrast

On white

14.63
#202452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#202452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202452
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202452#FFFFFF#000000##FFFFFF
##2024521.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2B54
Deuteranopia (green-blind)
#042751
Tritanopia (blue-blind)
#062E37
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #202452;
/* rgb */ color: rgb(32, 36, 82);
/* oklch */ color: oklch(28.5% 0.083 276.1);
Tailwind
colors: {
  custom: {
    50: '#615e83',
    500: '#202452',
    950: '#000000',
  },
}
SCSS
$custom: #202452;
$custom-light: #615e83;
$custom-dark: #000000;
JSON
{
  "hex": "#202452",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 235.2,
    "s": 43.86,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28464,
    "c": 0.08278,
    "h": 276.1
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#202452
secondary
#868147
accent
#C954D4
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040A
muted
#79797C

Preview Lab

Preview with #202452

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

Preview Lab → · Contrast checker → · Palette generator →

#202452 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva