#202BA8#202BA8

#202BA8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.195 H 269.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#202BA8
RGBrgb(32, 43, 168)
HSLhsl(235, 68%, 39%)
HSVhsv(235, 81%, 66%)
CMYKcmyk(81%, 74.4%, 0%, 34.1%)
CIE-LABlab(26.34, 41.34, -67.23)
CIE-LCHlch(26.34, 78.92, 301.58°)
OKLaboklab(38.22% -0.0022 -0.1948)
OKLCHoklch(38.22% 0.195 269.4)
XYZxyz(8.5250, 4.8610, 37.5272)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202BA8 #A89D20
analogous
#206FA8 #202BA8 #5920A8
triadic
#202BA8 #A8202B #2BA820
tetradic
#202BA8 #A8206F #A89D20 #20A859
square
#202BA8 #A8206F #A89D20 #20A859
split-complementary
#202BA8 #A85920 #6FA820
monochromatic
#0C1141 #161E75 #202BA8 #2E3CD7 #616CE1

Accessibility & contrast

On white

10.65
#202BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202BA8
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202BA8#FFFFFF#000000##FFFFFF
##202BA81.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #202ba8;
/* rgb */ color: rgb(32, 43, 168);
/* oklch */ color: oklch(38.2% 0.195 269.4);
Tailwind
colors: {
  custom: {
    50: '#7565c3',
    500: '#202ba8',
    950: '#000000',
  },
}
SCSS
$custom: #202ba8;
$custom-light: #7565c3;
$custom-dark: #000000;
JSON
{
  "hex": "#202ba8",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 235.147,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38218,
    "c": 0.19479,
    "h": 269.4
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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