#202279#202279

#202279 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.144 H 273.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#202279
RGBrgb(32, 34, 121)
HSLhsl(239, 58%, 30%)
HSVhsv(239, 74%, 47%)
CMYKcmyk(73.6%, 71.9%, 0%, 52.5%)
CIE-LABlab(19.35, 30.05, -49.59)
CIE-LCHlch(19.35, 57.99, 301.22°)
OKLaboklab(31.73% 0.009 -0.1434)
OKLCHoklch(31.73% 0.144 273.6)
XYZxyz(4.6177, 2.8312, 18.3886)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202279 #797720
analogous
#204E79 #202279 #4B2079
triadic
#202279 #792022 #227920
tetradic
#202279 #79204E #797720 #20794B
square
#202279 #79204E #797720 #20794B
split-complementary
#202279 #794B20 #4E7920
monochromatic
#060718 #131449 #202279 #2D30A9 #4549CE

Accessibility & contrast

On white

13.41
#202279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#202279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202279
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202279#FFFFFF#000000##FFFFFF
##2022791.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #202279;
/* rgb */ color: rgb(32, 34, 121);
/* oklch */ color: oklch(31.7% 0.144 273.6);
Tailwind
colors: {
  custom: {
    50: '#6a5da1',
    500: '#202279',
    950: '#000000',
  },
}
SCSS
$custom: #202279;
$custom-light: #6a5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#202279",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 238.652,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.31729,
    "c": 0.14365,
    "h": 273.6
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#202279
secondary
#ACAA49
accent
#DE46E1
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #202279

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

Preview Lab → · Contrast checker → · Palette generator →

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