#202AA6#202AA6

#202AA6 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.193 H 269.5°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#202AA6
RGBrgb(32, 42, 166)
HSLhsl(236, 68%, 39%)
HSVhsv(236, 81%, 65%)
CMYKcmyk(80.7%, 74.7%, 0%, 34.9%)
CIE-LABlab(25.91, 41.23, -66.73)
CIE-LCHlch(25.91, 78.44, 301.71°)
OKLaboklab(37.85% -0.0015 -0.1933)
OKLCHoklch(37.85% 0.193 269.5)
XYZxyz(8.3042, 4.7152, 36.5415)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202AA6 #A69C20
analogous
#206DA6 #202AA6 #5920A6
triadic
#202AA6 #A6202A #2AA620
tetradic
#202AA6 #A6206D #A69C20 #20A659
square
#202AA6 #A6206D #A69C20 #20A659
split-complementary
#202AA6 #A65920 #6DA620
monochromatic
#0C103F #161D73 #202AA6 #2D39D6 #606AE0

Accessibility & contrast

On white

10.81
#202AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#202AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202AA6
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202AA6#FFFFFF#000000##FFFFFF
##202AA61.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #202aa6;
/* rgb */ color: rgb(32, 42, 166);
/* oklch */ color: oklch(37.8% 0.193 269.5);
Tailwind
colors: {
  custom: {
    50: '#7565c2',
    500: '#202aa6',
    950: '#000000',
  },
}
SCSS
$custom: #202aa6;
$custom-light: #7565c2;
$custom-dark: #000000;
JSON
{
  "hex": "#202aa6",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 235.522,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37849,
    "c": 0.19333,
    "h": 269.5
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#202AA6
secondary
#C5BD5D
accent
#DE3DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #202AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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