#203180#203180

#203180 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.135 H 269.0°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#203180
RGBrgb(32, 49, 128)
HSLhsl(229, 60%, 31%)
HSVhsv(229, 75%, 50%)
CMYKcmyk(75%, 61.7%, 0%, 49.8%)
CIE-LABlab(23.87, 22.56, -46.63)
CIE-LCHlch(23.87, 51.81, 295.82°)
OKLaboklab(35.24% -0.0023 -0.1346)
OKLCHoklch(35.24% 0.135 269)
XYZxyz(5.5889, 4.0616, 20.9073)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203180 #806F20
analogous
#206180 #203180 #3F2080
triadic
#203180 #802031 #318020
tetradic
#203180 #802061 #806F20 #20803F
square
#203180 #802061 #806F20 #20803F
split-complementary
#203180 #803F20 #618020
monochromatic
#080C1E #141E4F #203180 #2C44B1 #4961D1

Accessibility & contrast

On white

11.59
#203180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#203180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203180
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203180#FFFFFF#000000##FFFFFF
##2031801.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #203180;
/* rgb */ color: rgb(32, 49, 128);
/* oklch */ color: oklch(35.2% 0.135 269.0);
Tailwind
colors: {
  custom: {
    50: '#6a68a6',
    500: '#203180',
    950: '#000000',
  },
}
SCSS
$custom: #203180;
$custom-light: #6a68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#203180",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 128
  },
  "hsl": {
    "h": 229.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35243,
    "c": 0.13461,
    "h": 269
  },
  "luminance": 0.04062
}

Semantic roles & 50–950 ramp

primary
#203180
secondary
#B3A049
accent
#C745E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #203180

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

Preview Lab → · Contrast checker → · Palette generator →

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