#202894#202894

#202894 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.173 H 270.6°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#202894
RGBrgb(32, 40, 148)
HSLhsl(236, 64%, 35%)
HSVhsv(236, 78%, 58%)
CMYKcmyk(78.4%, 73%, 0%, 42%)
CIE-LABlab(23.55, 36.07, -59.64)
CIE-LCHlch(23.55, 69.70, 301.17°)
OKLaboklab(35.59% 0.0019 -0.1727)
OKLCHoklch(35.59% 0.173 270.6)
XYZxyz(6.6979, 3.9620, 28.4230)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202894 #948C20
analogous
#206294 #202894 #522094
triadic
#202894 #942028 #289420
tetradic
#202894 #942062 #948C20 #209452
square
#202894 #942062 #948C20 #209452
split-complementary
#202894 #945220 #629420
monochromatic
#0A0D2F #151A62 #202894 #2B36C6 #545EDA

Accessibility & contrast

On white

11.71
#202894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#202894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202894
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202894#FFFFFF#000000##FFFFFF
##2028941.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202894;
/* rgb */ color: rgb(32, 40, 148);
/* oklch */ color: oklch(35.6% 0.173 270.6);
Tailwind
colors: {
  custom: {
    50: '#7063b5',
    500: '#202894',
    950: '#000000',
  },
}
SCSS
$custom: #202894;
$custom-light: #7063b5;
$custom-dark: #000000;
JSON
{
  "hex": "#202894",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 235.862,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35587,
    "c": 0.17269,
    "h": 270.6
  },
  "luminance": 0.03963
}

Semantic roles & 50–950 ramp

primary
#202894
secondary
#BEB652
accent
#DC40E7
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202894

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

Preview Lab → · Contrast checker → · Palette generator →

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