#202CA8#202CA8

#202CA8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.194 H 269.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#202CA8
RGBrgb(32, 44, 168)
HSLhsl(235, 68%, 39%)
HSVhsv(235, 81%, 66%)
CMYKcmyk(81%, 73.8%, 0%, 34.1%)
CIE-LABlab(26.55, 40.74, -66.88)
CIE-LCHlch(26.55, 78.31, 301.35°)
OKLaboklab(38.37% -0.0026 -0.1938)
OKLCHoklch(38.37% 0.194 269.2)
XYZxyz(8.5618, 4.9346, 37.5394)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202CA8 #A89C20
analogous
#2070A8 #202CA8 #5820A8
triadic
#202CA8 #A8202C #2CA820
tetradic
#202CA8 #A82070 #A89C20 #20A858
square
#202CA8 #A82070 #A89C20 #20A858
split-complementary
#202CA8 #A85820 #70A820
monochromatic
#0C1141 #161F75 #202CA8 #2E3DD7 #616DE1

Accessibility & contrast

On white

10.57
#202CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#202CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202CA8
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202CA8#FFFFFF#000000##FFFFFF
##202CA81.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #202ca8;
/* rgb */ color: rgb(32, 44, 168);
/* oklch */ color: oklch(38.4% 0.194 269.2);
Tailwind
colors: {
  custom: {
    50: '#7566c3',
    500: '#202ca8',
    950: '#000000',
  },
}
SCSS
$custom: #202ca8;
$custom-light: #7566c3;
$custom-dark: #000000;
JSON
{
  "hex": "#202ca8",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 234.706,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3837,
    "c": 0.19379,
    "h": 269.2
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#202CA8
secondary
#C6BD5E
accent
#DC3DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #202CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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