#202A61#202A61

#202A61 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.098 H 271.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#202A61
RGBrgb(32, 42, 97)
HSLhsl(231, 50%, 25%)
HSVhsv(231, 67%, 38%)
CMYKcmyk(67%, 56.7%, 0%, 62%)
CIE-LABlab(19.33, 15.32, -34.07)
CIE-LCHlch(19.33, 37.35, 294.21°)
OKLaboklab(31.04% 0.003 -0.0977)
OKLCHoklch(31.04% 0.098 271.8)
XYZxyz(3.5806, 2.8258, 11.6637)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A61 #615720
analogous
#204A61 #202A61 #362061
triadic
#202A61 #61202A #2A6120
tetradic
#202A61 #61204A #615720 #206136
square
#202A61 #61204A #615720 #206136
split-complementary
#202A61 #613620 #4A6120
monochromatic
#080A17 #111633 #202A61 #2F3E8F #3E52BD

Accessibility & contrast

On white

13.42
#202A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#202A61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A61
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A61#FFFFFF#000000##FFFFFF
##202A611.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073263
Deuteranopia (green-blind)
#002C60
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #202a61;
/* rgb */ color: rgb(32, 42, 97);
/* oklch */ color: oklch(31.0% 0.098 271.8);
Tailwind
colors: {
  custom: {
    50: '#63638e',
    500: '#202a61',
    950: '#000000',
  },
}
SCSS
$custom: #202a61;
$custom-light: #63638e;
$custom-dark: #000000;
JSON
{
  "hex": "#202a61",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 97
  },
  "hsl": {
    "h": 230.769,
    "s": 50.388,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31043,
    "c": 0.09779,
    "h": 271.8
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#202A61
secondary
#958947
accent
#C44EDA
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #202A61

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

Preview Lab → · Contrast checker → · Palette generator →

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