#203179#203179

#203179 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.124 H 268.9°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#203179
RGBrgb(32, 49, 121)
HSLhsl(229, 58%, 30%)
HSVhsv(229, 74%, 47%)
CMYKcmyk(73.6%, 59.5%, 0%, 52.5%)
CIE-LABlab(23.28, 19.80, -43.17)
CIE-LCHlch(23.28, 47.50, 294.64°)
OKLaboklab(34.62% -0.0024 -0.1244)
OKLCHoklch(34.62% 0.124 268.9)
XYZxyz(5.1440, 3.8837, 18.5640)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203179 #796820
analogous
#205E79 #203179 #3B2079
triadic
#203179 #792031 #317920
tetradic
#203179 #79205E #796820 #20793B
square
#203179 #79205E #796820 #20793B
split-complementary
#203179 #793B20 #5E7920
monochromatic
#060A18 #131D49 #203179 #2D45A9 #4560CE

Accessibility & contrast

On white

11.82
#203179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203179
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203179#FFFFFF#000000##FFFFFF
##2031791.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #203179;
/* rgb */ color: rgb(32, 49, 121);
/* oklch */ color: oklch(34.6% 0.124 268.9);
Tailwind
colors: {
  custom: {
    50: '#6968a0',
    500: '#203179',
    950: '#000000',
  },
}
SCSS
$custom: #203179;
$custom-light: #6968a0;
$custom-dark: #000000;
JSON
{
  "hex": "#203179",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 121
  },
  "hsl": {
    "h": 228.539,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.34617,
    "c": 0.12444,
    "h": 268.9
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#203179
secondary
#AC9949
accent
#C446E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #203179

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

Preview Lab → · Contrast checker → · Palette generator →

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