#202CA5#202CA5

#202CA5 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.190 H 269.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#202CA5
RGBrgb(32, 44, 165)
HSLhsl(235, 68%, 39%)
HSVhsv(235, 81%, 65%)
CMYKcmyk(80.6%, 73.3%, 0%, 35.3%)
CIE-LABlab(26.23, 39.68, -65.60)
CIE-LCHlch(26.23, 76.67, 301.17°)
OKLaboklab(38.05% -0.0021 -0.19)
OKLCHoklch(38.05% 0.19 269.4)
XYZxyz(8.2855, 4.8241, 36.0845)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202CA5 #A59920
analogous
#206EA5 #202CA5 #5620A5
triadic
#202CA5 #A5202C #2CA520
tetradic
#202CA5 #A5206E #A59920 #20A556
square
#202CA5 #A5206E #A59920 #20A556
split-complementary
#202CA5 #A55620 #6EA520
monochromatic
#0C113E #161E72 #202CA5 #2C3BD6 #5F6BE0

Accessibility & contrast

On white

10.69
#202CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#202CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202CA5
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202CA5#FFFFFF#000000##FFFFFF
##202CA51.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0037A3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #202ca5;
/* rgb */ color: rgb(32, 44, 165);
/* oklch */ color: oklch(38.0% 0.190 269.4);
Tailwind
colors: {
  custom: {
    50: '#7466c1',
    500: '#202ca5',
    950: '#000000',
  },
}
SCSS
$custom: #202ca5;
$custom-light: #7466c1;
$custom-dark: #000000;
JSON
{
  "hex": "#202ca5",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 234.586,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38046,
    "c": 0.19005,
    "h": 269.4
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#202CA5
secondary
#C5BB5C
accent
#DB3DEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #202CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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