#202875#202875

#202875 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.131 H 272.2°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#202875
RGBrgb(32, 40, 117)
HSLhsl(234, 57%, 29%)
HSVhsv(234, 73%, 46%)
CMYKcmyk(72.6%, 65.8%, 0%, 54.1%)
CIE-LABlab(20.47, 24.52, -45.20)
CIE-LCHlch(20.47, 51.42, 298.48°)
OKLaboklab(32.42% 0.005 -0.1305)
OKLCHoklch(32.42% 0.131 272.2)
XYZxyz(4.5643, 3.1086, 17.1856)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202875 #756D20
analogous
#205375 #202875 #432075
triadic
#202875 #752028 #287520
tetradic
#202875 #752053 #756D20 #207543
square
#202875 #752053 #756D20 #207543
split-complementary
#202875 #754320 #537520
monochromatic
#070818 #131845 #202875 #2D38A5 #4450CC

Accessibility & contrast

On white

12.95
#202875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#202875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202875
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202875#FFFFFF#000000##FFFFFF
##2028751.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202875;
/* rgb */ color: rgb(32, 40, 117);
/* oklch */ color: oklch(32.4% 0.131 272.2);
Tailwind
colors: {
  custom: {
    50: '#68629e',
    500: '#202875',
    950: '#000000',
  },
}
SCSS
$custom: #202875;
$custom-light: #68629e;
$custom-dark: #000000;
JSON
{
  "hex": "#202875",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 234.353,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32425,
    "c": 0.13058,
    "h": 272.2
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#202875
secondary
#A89F48
accent
#D247E0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202875

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

Preview Lab → · Contrast checker → · Palette generator →

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