#202FA6#202FA6

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

Color values

HEX#202FA6
RGBrgb(32, 47, 166)
HSLhsl(233, 68%, 39%)
HSVhsv(233, 81%, 65%)
CMYKcmyk(80.7%, 71.7%, 0%, 34.9%)
CIE-LABlab(27.00, 38.20, -64.93)
CIE-LCHlch(27.00, 75.34, 300.47°)
OKLaboklab(38.63% -0.0035 -0.1881)
OKLCHoklch(38.63% 0.188 268.9)
XYZxyz(8.4927, 5.0923, 36.6043)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202FA6 #A69720
analogous
#2072A6 #202FA6 #5420A6
triadic
#202FA6 #A6202F #2FA620
tetradic
#202FA6 #A62072 #A69720 #20A654
square
#202FA6 #A62072 #A69720 #20A654
split-complementary
#202FA6 #A65420 #72A620
monochromatic
#0C123F #162073 #202FA6 #2D40D6 #606EE0

Accessibility & contrast

On white

10.40
#202FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#202FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202FA6
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202FA6#FFFFFF#000000##FFFFFF
##202FA61.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #202fa6;
/* rgb */ color: rgb(32, 47, 166);
/* oklch */ color: oklch(38.6% 0.188 268.9);
Tailwind
colors: {
  custom: {
    50: '#7468c2',
    500: '#202fa6',
    950: '#000000',
  },
}
SCSS
$custom: #202fa6;
$custom-light: #7468c2;
$custom-dark: #000000;
JSON
{
  "hex": "#202fa6",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 233.284,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38629,
    "c": 0.18814,
    "h": 268.9
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#202FA6
secondary
#C5B95D
accent
#D73DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #202FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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