#202874#202874

#202874 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.129 H 272.3°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#202874
RGBrgb(32, 40, 116)
HSLhsl(234, 57%, 29%)
HSVhsv(234, 72%, 45%)
CMYKcmyk(72.4%, 65.5%, 0%, 54.5%)
CIE-LABlab(20.38, 24.14, -44.71)
CIE-LCHlch(20.38, 50.81, 298.37°)
OKLaboklab(32.33% 0.0051 -0.129)
OKLCHoklch(32.33% 0.129 272.3)
XYZxyz(4.5058, 3.0852, 16.8777)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202874 #746C20
analogous
#205274 #202874 #422074
triadic
#202874 #742028 #287420
tetradic
#202874 #742052 #746C20 #207442
square
#202874 #742052 #746C20 #207442
split-complementary
#202874 #744220 #527420
monochromatic
#070818 #131744 #202874 #2D39A4 #4350CB

Accessibility & contrast

On white

12.99
#202874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#202874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202874
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202874#FFFFFF#000000##FFFFFF
##2028741.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202874;
/* rgb */ color: rgb(32, 40, 116);
/* oklch */ color: oklch(32.3% 0.129 272.3);
Tailwind
colors: {
  custom: {
    50: '#68629d',
    500: '#202874',
    950: '#000000',
  },
}
SCSS
$custom: #202874;
$custom-light: #68629d;
$custom-dark: #000000;
JSON
{
  "hex": "#202874",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 234.286,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32329,
    "c": 0.12914,
    "h": 272.3
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#202874
secondary
#A89E48
accent
#D248E0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202874

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

Preview Lab → · Contrast checker → · Palette generator →

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