#202671#202671

#202671 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.127 H 273.1°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#202671
RGBrgb(32, 38, 113)
HSLhsl(236, 56%, 28%)
HSVhsv(236, 72%, 44%)
CMYKcmyk(71.7%, 66.4%, 0%, 55.7%)
CIE-LABlab(19.58, 24.37, -44.09)
CIE-LCHlch(19.58, 50.38, 298.93°)
OKLaboklab(31.65% 0.0069 -0.1272)
OKLCHoklch(31.65% 0.127 273.1)
XYZxyz(4.2684, 2.8852, 15.9515)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202671 #716B20
analogous
#204E71 #202671 #422071
triadic
#202671 #712026 #267120
tetradic
#202671 #71204E #716B20 #207142
square
#202671 #71204E #716B20 #207142
split-complementary
#202671 #714220 #4E7120
monochromatic
#070818 #121641 #202671 #2E36A1 #424CC9

Accessibility & contrast

On white

13.31
#202671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#202671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202671
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202671#FFFFFF#000000##FFFFFF
##2026711.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #202671;
/* rgb */ color: rgb(32, 38, 113);
/* oklch */ color: oklch(31.7% 0.127 273.1);
Tailwind
colors: {
  custom: {
    50: '#67609b',
    500: '#202671',
    950: '#000000',
  },
}
SCSS
$custom: #202671;
$custom-light: #67609b;
$custom-dark: #000000;
JSON
{
  "hex": "#202671",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 235.556,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31653,
    "c": 0.12744,
    "h": 273.1
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#202671
secondary
#A59E48
accent
#D449DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202671

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

Preview Lab → · Contrast checker → · Palette generator →

#202671 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva