#202879#202879

#202879 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.136 H 272.0°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#202879
RGBrgb(32, 40, 121)
HSLhsl(235, 58%, 30%)
HSVhsv(235, 74%, 47%)
CMYKcmyk(73.6%, 66.9%, 0%, 52.5%)
CIE-LABlab(20.85, 26.06, -47.15)
CIE-LCHlch(20.85, 53.87, 298.93°)
OKLaboklab(32.81% 0.0048 -0.1362)
OKLCHoklch(32.81% 0.136 272)
XYZxyz(4.8045, 3.2047, 18.4508)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202879 #797120
analogous
#205479 #202879 #452079
triadic
#202879 #792028 #287920
tetradic
#202879 #792054 #797120 #207945
square
#202879 #792054 #797120 #207945
split-complementary
#202879 #794520 #547920
monochromatic
#060818 #131849 #202879 #2D38A9 #4552CE

Accessibility & contrast

On white

12.80
#202879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#202879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202879
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202879#FFFFFF#000000##FFFFFF
##2028791.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202879;
/* rgb */ color: rgb(32, 40, 121);
/* oklch */ color: oklch(32.8% 0.136 272.0);
Tailwind
colors: {
  custom: {
    50: '#6962a1',
    500: '#202879',
    950: '#000000',
  },
}
SCSS
$custom: #202879;
$custom-light: #6962a1;
$custom-dark: #000000;
JSON
{
  "hex": "#202879",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 234.607,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.32812,
    "c": 0.13627,
    "h": 272
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#202879
secondary
#ACA349
accent
#D346E1
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #202879

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

Preview Lab → · Contrast checker → · Palette generator →

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