#202394#202394

#202394 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.178 H 271.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#202394
RGBrgb(32, 35, 148)
HSLhsl(238, 64%, 35%)
HSVhsv(238, 78%, 58%)
CMYKcmyk(78.4%, 76.4%, 0%, 42%)
CIE-LABlab(22.47, 39.09, -61.42)
CIE-LCHlch(22.47, 72.80, 302.47°)
OKLaboklab(34.82% 0.0041 -0.1778)
OKLCHoklch(34.82% 0.178 271.3)
XYZxyz(6.5402, 3.6465, 28.3704)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202394 #949120
analogous
#205D94 #202394 #572094
triadic
#202394 #942023 #239420
tetradic
#202394 #94205D #949120 #209457
square
#202394 #94205D #949120 #209457
split-complementary
#202394 #945720 #5D9420
monochromatic
#0A0B2F #151762 #202394 #2B2FC6 #5458DA

Accessibility & contrast

On white

12.14
#202394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#202394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202394
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202394#FFFFFF#000000##FFFFFF
##2023941.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003092
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202394;
/* rgb */ color: rgb(32, 35, 148);
/* oklch */ color: oklch(34.8% 0.178 271.3);
Tailwind
colors: {
  custom: {
    50: '#715fb5',
    500: '#202394',
    950: '#000000',
  },
}
SCSS
$custom: #202394;
$custom-light: #715fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#202394",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 238.448,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34817,
    "c": 0.17788,
    "h": 271.3
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#202394
secondary
#BEBB52
accent
#E340E7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202394

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

Preview Lab → · Contrast checker → · Palette generator →

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