#202FA8#202FA8

#202FA8 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.191 H 268.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#202FA8
RGBrgb(32, 47, 168)
HSLhsl(233, 68%, 39%)
HSVhsv(233, 81%, 66%)
CMYKcmyk(81%, 72%, 0%, 34.1%)
CIE-LABlab(27.20, 38.92, -65.80)
CIE-LCHlch(27.20, 76.45, 300.60°)
OKLaboklab(38.84% -0.0037 -0.1906)
OKLCHoklch(38.84% 0.191 268.9)
XYZxyz(8.6776, 5.1663, 37.5780)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202FA8 #A89920
analogous
#2073A8 #202FA8 #5520A8
triadic
#202FA8 #A8202F #2FA820
tetradic
#202FA8 #A82073 #A89920 #20A855
square
#202FA8 #A82073 #A89920 #20A855
split-complementary
#202FA8 #A85520 #73A820
monochromatic
#0C1241 #162175 #202FA8 #2E41D7 #616FE1

Accessibility & contrast

On white

10.33
#202FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#202FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202FA8
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202FA8#FFFFFF#000000##FFFFFF
##202FA81.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #202fa8;
/* rgb */ color: rgb(32, 47, 168);
/* oklch */ color: oklch(38.8% 0.191 268.9);
Tailwind
colors: {
  custom: {
    50: '#7568c3',
    500: '#202fa8',
    950: '#000000',
  },
}
SCSS
$custom: #202fa8;
$custom-light: #7568c3;
$custom-dark: #000000;
JSON
{
  "hex": "#202fa8",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 233.382,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3884,
    "c": 0.19067,
    "h": 268.9
  },
  "luminance": 0.05167
}

Semantic roles & 50–950 ramp

primary
#202FA8
secondary
#C6BA5E
accent
#D83DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #202FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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