#202BA1#202BA1

#202BA1 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.186 H 269.6°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#202BA1
RGBrgb(32, 43, 161)
HSLhsl(235, 67%, 38%)
HSVhsv(235, 80%, 63%)
CMYKcmyk(80.1%, 73.3%, 0%, 36.9%)
CIE-LABlab(25.58, 38.87, -64.23)
CIE-LCHlch(25.58, 75.08, 301.18°)
OKLaboklab(37.46% -0.0012 -0.1861)
OKLCHoklch(37.46% 0.186 269.6)
XYZxyz(7.8904, 4.6071, 34.1847)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202BA1 #A19620
analogous
#206BA1 #202BA1 #5620A1
triadic
#202BA1 #A1202B #2BA120
tetradic
#202BA1 #A1206B #A19620 #20A156
square
#202BA1 #A1206B #A19620 #20A156
split-complementary
#202BA1 #A15620 #6BA120
monochromatic
#0C103B #161D6E #202BA1 #2A39D4 #5D68DF

Accessibility & contrast

On white

10.93
#202BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#202BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202BA1
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202BA1#FFFFFF#000000##FFFFFF
##202BA11.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #202ba1;
/* rgb */ color: rgb(32, 43, 161);
/* oklch */ color: oklch(37.5% 0.186 269.6);
Tailwind
colors: {
  custom: {
    50: '#7365be',
    500: '#202ba1',
    950: '#000000',
  },
}
SCSS
$custom: #202ba1;
$custom-light: #7365be;
$custom-dark: #000000;
JSON
{
  "hex": "#202ba1",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 234.884,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37459,
    "c": 0.18606,
    "h": 269.6
  },
  "luminance": 0.04608
}

Semantic roles & 50–950 ramp

primary
#202BA1
secondary
#C3BA5A
accent
#DB3EEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #202BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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