#202895#202895

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

Color values

HEX#202895
RGBrgb(32, 40, 149)
HSLhsl(236, 65%, 35%)
HSVhsv(236, 79%, 58%)
CMYKcmyk(78.5%, 73.2%, 0%, 41.6%)
CIE-LABlab(23.65, 36.43, -60.08)
CIE-LCHlch(23.65, 70.26, 301.23°)
OKLaboklab(35.69% 0.0018 -0.174)
OKLCHoklch(35.69% 0.174 270.6)
XYZxyz(6.7774, 3.9938, 28.8416)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202895 #958D20
analogous
#206395 #202895 #522095
triadic
#202895 #952028 #289520
tetradic
#202895 #952063 #958D20 #209552
square
#202895 #952063 #958D20 #209552
split-complementary
#202895 #955220 #639520
monochromatic
#0A0D30 #151A63 #202895 #2B36C7 #555EDA

Accessibility & contrast

On white

11.67
#202895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#202895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202895
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202895#FFFFFF#000000##FFFFFF
##2028951.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202895;
/* rgb */ color: rgb(32, 40, 149);
/* oklch */ color: oklch(35.7% 0.174 270.6);
Tailwind
colors: {
  custom: {
    50: '#7163b5',
    500: '#202895',
    950: '#000000',
  },
}
SCSS
$custom: #202895;
$custom-light: #7163b5;
$custom-dark: #000000;
JSON
{
  "hex": "#202895",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 235.897,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35694,
    "c": 0.17398,
    "h": 270.6
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#202895
secondary
#BEB753
accent
#DC40E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202895

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

Preview Lab → · Contrast checker → · Palette generator →

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