#202295#202295

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

Color values

HEX#202295
RGBrgb(32, 34, 149)
HSLhsl(239, 65%, 35%)
HSVhsv(239, 79%, 58%)
CMYKcmyk(78.5%, 77.2%, 0%, 41.6%)
CIE-LABlab(22.37, 40.01, -62.19)
CIE-LCHlch(22.37, 73.95, 302.76°)
OKLaboklab(34.78% 0.0043 -0.1801)
OKLCHoklch(34.78% 0.18 271.4)
XYZxyz(6.5907, 3.6203, 28.7794)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202295 #959320
analogous
#205D95 #202295 #582095
triadic
#202295 #952022 #229520
tetradic
#202295 #95205D #959320 #209558
square
#202295 #95205D #959320 #209558
split-complementary
#202295 #955820 #5D9520
monochromatic
#0A0B30 #151763 #202295 #2B2DC7 #5557DA

Accessibility & contrast

On white

12.18
#202295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202295
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202295#FFFFFF#000000##FFFFFF
##2022951.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003093
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202295;
/* rgb */ color: rgb(32, 34, 149);
/* oklch */ color: oklch(34.8% 0.180 271.4);
Tailwind
colors: {
  custom: {
    50: '#715fb5',
    500: '#202295',
    950: '#000000',
  },
}
SCSS
$custom: #202295;
$custom-light: #715fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#202295",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 238.974,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34785,
    "c": 0.18011,
    "h": 271.4
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#202295
secondary
#BEBC53
accent
#E540E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202295

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

Preview Lab → · Contrast checker → · Palette generator →

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