#202FA7#202FA7

#202FA7 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.189 H 268.9°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#202FA7
RGBrgb(32, 47, 167)
HSLhsl(233, 68%, 39%)
HSVhsv(233, 81%, 65%)
CMYKcmyk(80.8%, 71.9%, 0%, 34.5%)
CIE-LABlab(27.10, 38.56, -65.37)
CIE-LCHlch(27.10, 75.90, 300.54°)
OKLaboklab(38.73% -0.0036 -0.1894)
OKLCHoklch(38.73% 0.189 268.9)
XYZxyz(8.5848, 5.1291, 37.0893)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202FA7 #A79820
analogous
#2073A7 #202FA7 #5520A7
triadic
#202FA7 #A7202F #2FA720
tetradic
#202FA7 #A72073 #A79820 #20A755
square
#202FA7 #A72073 #A79820 #20A755
split-complementary
#202FA7 #A75520 #73A720
monochromatic
#0C1240 #162174 #202FA7 #2D40D7 #616FE1

Accessibility & contrast

On white

10.37
#202FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202FA7
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202FA7#FFFFFF#000000##FFFFFF
##202FA71.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0039A5
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #202fa7;
/* rgb */ color: rgb(32, 47, 167);
/* oklch */ color: oklch(38.7% 0.189 268.9);
Tailwind
colors: {
  custom: {
    50: '#7568c2',
    500: '#202fa7',
    950: '#000000',
  },
}
SCSS
$custom: #202fa7;
$custom-light: #7568c2;
$custom-dark: #000000;
JSON
{
  "hex": "#202fa7",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 233.333,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38734,
    "c": 0.18941,
    "h": 268.9
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#202FA7
secondary
#C5BA5D
accent
#D73DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #202FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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