#202A8F#202A8F

#202A8F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.164 H 270.5°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#202A8F
RGBrgb(32, 42, 143)
HSLhsl(235, 63%, 34%)
HSVhsv(235, 78%, 56%)
CMYKcmyk(77.6%, 70.6%, 0%, 43.9%)
CIE-LABlab(23.49, 32.98, -56.64)
CIE-LCHlch(23.49, 65.54, 300.22°)
OKLaboklab(35.39% 0.0015 -0.1639)
OKLCHoklch(35.39% 0.164 270.5)
XYZxyz(6.3799, 3.9455, 26.4066)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A8F #8F8520
analogous
#20628F #202A8F #4E208F
triadic
#202A8F #8F202A #2A8F20
tetradic
#202A8F #8F2062 #8F8520 #208F4E
square
#202A8F #8F2062 #8F8520 #208F4E
split-complementary
#202A8F #8F4E20 #628F20
monochromatic
#0A0D2B #151B5D #202A8F #2B39C1 #515DD8

Accessibility & contrast

On white

11.74
#202A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#202A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A8F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A8F#FFFFFF#000000##FFFFFF
##202A8F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202a8f;
/* rgb */ color: rgb(32, 42, 143);
/* oklch */ color: oklch(35.4% 0.164 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f64b1',
    500: '#202a8f',
    950: '#000000',
  },
}
SCSS
$custom: #202a8f;
$custom-light: #6f64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#202a8f",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 234.595,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35392,
    "c": 0.16394,
    "h": 270.5
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#202A8F
secondary
#BBB24F
accent
#D841E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #202A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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