#202999#202999

#202999 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.178 H 270.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#202999
RGBrgb(32, 41, 153)
HSLhsl(236, 65%, 36%)
HSVhsv(236, 79%, 60%)
CMYKcmyk(79.1%, 73.2%, 0%, 40%)
CIE-LABlab(24.30, 37.24, -61.48)
CIE-LCHlch(24.30, 71.88, 301.21°)
OKLaboklab(36.28% 0.0007 -0.178)
OKLCHoklch(36.28% 0.178 270.2)
XYZxyz(7.1364, 4.1921, 30.5639)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202999 #999020
analogous
#206699 #202999 #542099
triadic
#202999 #992029 #299920
tetradic
#202999 #992066 #999020 #209954
square
#202999 #992066 #999020 #209954
split-complementary
#202999 #995420 #669920
monochromatic
#0B0E34 #151B66 #202999 #2B37CC #5761DC

Accessibility & contrast

On white

11.42
#202999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#202999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202999
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202999#FFFFFF#000000##FFFFFF
##2029991.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #202999;
/* rgb */ color: rgb(32, 41, 153);
/* oklch */ color: oklch(36.3% 0.178 270.2);
Tailwind
colors: {
  custom: {
    50: '#7263b8',
    500: '#202999',
    950: '#000000',
  },
}
SCSS
$custom: #202999;
$custom-light: #7263b8;
$custom-dark: #000000;
JSON
{
  "hex": "#202999",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 235.537,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36283,
    "c": 0.17803,
    "h": 270.2
  },
  "luminance": 0.04193
}

Semantic roles & 50–950 ramp

primary
#202999
secondary
#C0B855
accent
#DC3FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #202999

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

Preview Lab → · Contrast checker → · Palette generator →

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