#203181#203181

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

Color values

HEX#203181
RGBrgb(32, 49, 129)
HSLhsl(229, 60%, 32%)
HSVhsv(229, 75%, 51%)
CMYKcmyk(75.2%, 62%, 0%, 49.4%)
CIE-LABlab(23.96, 22.95, -47.12)
CIE-LCHlch(23.96, 52.42, 295.97°)
OKLaboklab(35.33% -0.0023 -0.136)
OKLCHoklch(35.33% 0.136 269)
XYZxyz(5.6551, 4.0881, 21.2557)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203181 #817020
analogous
#206281 #203181 #402081
triadic
#203181 #812031 #318120
tetradic
#203181 #812062 #817020 #208140
square
#203181 #812062 #817020 #208140
split-complementary
#203181 #814020 #628120
monochromatic
#080C1F #141E50 #203181 #2C44B2 #4961D2

Accessibility & contrast

On white

11.55
#203181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#203181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203181
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203181#FFFFFF#000000##FFFFFF
##2031811.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #203181;
/* rgb */ color: rgb(32, 49, 129);
/* oklch */ color: oklch(35.3% 0.136 269.0);
Tailwind
colors: {
  custom: {
    50: '#6b68a6',
    500: '#203181',
    950: '#000000',
  },
}
SCSS
$custom: #203181;
$custom-light: #6b68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#203181",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 229.485,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35334,
    "c": 0.13605,
    "h": 269
  },
  "luminance": 0.04089
}

Semantic roles & 50–950 ramp

primary
#203181
secondary
#B4A149
accent
#C844E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #203181

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

Preview Lab → · Contrast checker → · Palette generator →

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