#203299#203299

#203299 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.168 H 268.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#203299
RGBrgb(32, 50, 153)
HSLhsl(231, 65%, 36%)
HSVhsv(231, 79%, 60%)
CMYKcmyk(79.1%, 67.3%, 0%, 40%)
CIE-LABlab(26.41, 31.50, -57.99)
CIE-LCHlch(26.41, 66.00, 298.51°)
OKLaboklab(37.81% -0.0038 -0.1679)
OKLCHoklch(37.81% 0.168 268.7)
XYZxyz(7.4840, 4.8873, 30.6797)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203299 #998720
analogous
#206F99 #203299 #4B2099
triadic
#203299 #992032 #329920
tetradic
#203299 #99206F #998720 #20994B
square
#203299 #99206F #998720 #20994B
split-complementary
#203299 #994B20 #6F9920
monochromatic
#0B1134 #152166 #203299 #2B43CC #576BDC

Accessibility & contrast

On white

10.62
#203299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#203299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203299
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203299#FFFFFF#000000##FFFFFF
##2032991.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #203299;
/* rgb */ color: rgb(32, 50, 153);
/* oklch */ color: oklch(37.8% 0.168 268.7);
Tailwind
colors: {
  custom: {
    50: '#716ab8',
    500: '#203299',
    950: '#000000',
  },
}
SCSS
$custom: #203299;
$custom-light: #716ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#203299",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 231.074,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37814,
    "c": 0.1679,
    "h": 268.7
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#203299
secondary
#C0B055
accent
#CF3FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #203299

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

Preview Lab → · Contrast checker → · Palette generator →

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