#203277#203277

#203277 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.120 H 268.4°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#203277
RGBrgb(32, 50, 119)
HSLhsl(228, 58%, 30%)
HSVhsv(228, 73%, 47%)
CMYKcmyk(73.1%, 58%, 0%, 53.3%)
CIE-LABlab(23.40, 18.31, -41.70)
CIE-LCHlch(23.40, 45.55, 293.70°)
OKLaboklab(34.66% -0.0034 -0.1201)
OKLCHoklch(34.66% 0.12 268.4)
XYZxyz(5.0649, 3.9197, 17.9388)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203277 #776520
analogous
#205E77 #203277 #392077
triadic
#203277 #772032 #327720
tetradic
#203277 #77205E #776520 #207739
square
#203277 #77205E #776520 #207739
split-complementary
#203277 #773920 #5E7720
monochromatic
#060A18 #131E47 #203277 #2D46A7 #4561CD

Accessibility & contrast

On white

11.77
#203277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#203277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203277
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203277#FFFFFF#000000##FFFFFF
##2032771.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #203277;
/* rgb */ color: rgb(32, 50, 119);
/* oklch */ color: oklch(34.7% 0.120 268.4);
Tailwind
colors: {
  custom: {
    50: '#68699f',
    500: '#203277',
    950: '#000000',
  },
}
SCSS
$custom: #203277;
$custom-light: #68699f;
$custom-dark: #000000;
JSON
{
  "hex": "#203277",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 227.586,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34656,
    "c": 0.12014,
    "h": 268.4
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#203277
secondary
#AA9648
accent
#C147E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #203277

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

Preview Lab → · Contrast checker → · Palette generator →

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