#202995#202995

#202995 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.173 H 270.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#202995
RGBrgb(32, 41, 149)
HSLhsl(235, 65%, 35%)
HSVhsv(235, 79%, 58%)
CMYKcmyk(78.5%, 72.5%, 0%, 41.6%)
CIE-LABlab(23.88, 35.81, -59.71)
CIE-LCHlch(23.88, 69.62, 300.95°)
OKLaboklab(35.86% 0.0013 -0.1729)
OKLCHoklch(35.86% 0.173 270.4)
XYZxyz(6.8116, 4.0621, 28.8530)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202995 #958C20
analogous
#206395 #202995 #522095
triadic
#202995 #952029 #299520
tetradic
#202995 #952063 #958C20 #209552
square
#202995 #952063 #958C20 #209552
split-complementary
#202995 #955220 #639520
monochromatic
#0A0D30 #151B63 #202995 #2B37C7 #555FDA

Accessibility & contrast

On white

11.59
#202995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#202995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202995
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202995#FFFFFF#000000##FFFFFF
##2029951.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202995;
/* rgb */ color: rgb(32, 41, 149);
/* oklch */ color: oklch(35.9% 0.173 270.4);
Tailwind
colors: {
  custom: {
    50: '#7063b5',
    500: '#202995',
    950: '#000000',
  },
}
SCSS
$custom: #202995;
$custom-light: #7063b5;
$custom-dark: #000000;
JSON
{
  "hex": "#202995",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 235.385,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35856,
    "c": 0.17289,
    "h": 270.4
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#202995
secondary
#BEB653
accent
#DB40E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202995

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

Preview Lab → · Contrast checker → · Palette generator →

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