#202294#202294

#202294 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.179 H 271.4°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#202294
RGBrgb(32, 34, 148)
HSLhsl(239, 64%, 35%)
HSVhsv(239, 78%, 58%)
CMYKcmyk(78.4%, 77%, 0%, 42%)
CIE-LABlab(22.26, 39.67, -61.76)
CIE-LCHlch(22.26, 73.40, 302.71°)
OKLaboklab(34.67% 0.0045 -0.1788)
OKLCHoklch(34.67% 0.179 271.4)
XYZxyz(6.5112, 3.5885, 28.3607)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202294 #949220
analogous
#205C94 #202294 #582094
triadic
#202294 #942022 #229420
tetradic
#202294 #94205C #949220 #209458
square
#202294 #94205C #949220 #209458
split-complementary
#202294 #945820 #5C9420
monochromatic
#0A0B2F #151662 #202294 #2B2EC6 #5457DA

Accessibility & contrast

On white

12.22
#202294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#202294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202294
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202294#FFFFFF#000000##FFFFFF
##2022941.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#002F92
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202294;
/* rgb */ color: rgb(32, 34, 148);
/* oklch */ color: oklch(34.7% 0.179 271.4);
Tailwind
colors: {
  custom: {
    50: '#715fb5',
    500: '#202294',
    950: '#000000',
  },
}
SCSS
$custom: #202294;
$custom-light: #715fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#202294",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 238.966,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34672,
    "c": 0.17886,
    "h": 271.4
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#202294
secondary
#BEBC52
accent
#E540E7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #202294

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

Preview Lab → · Contrast checker → · Palette generator →

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