#203187#203187

#203187 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.145 H 269.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#203187
RGBrgb(32, 49, 135)
HSLhsl(230, 62%, 33%)
HSVhsv(230, 76%, 53%)
CMYKcmyk(76.3%, 63.7%, 0%, 47.1%)
CIE-LABlab(24.49, 25.29, -50.02)
CIE-LCHlch(24.49, 56.05, 296.82°)
OKLaboklab(35.89% -0.0024 -0.1445)
OKLCHoklch(35.89% 0.145 269.1)
XYZxyz(6.0656, 4.2523, 23.4181)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203187 #877620
analogous
#206487 #203187 #422087
triadic
#203187 #872031 #318720
tetradic
#203187 #872064 #877620 #208742
square
#203187 #872064 #877620 #208742
split-complementary
#203187 #874220 #648720
monochromatic
#090D24 #141F56 #203187 #2C43B8 #4D63D5

Accessibility & contrast

On white

11.35
#203187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#203187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203187
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203187#FFFFFF#000000##FFFFFF
##2031871.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #203187;
/* rgb */ color: rgb(32, 49, 135);
/* oklch */ color: oklch(35.9% 0.145 269.1);
Tailwind
colors: {
  custom: {
    50: '#6c69ab',
    500: '#203187',
    950: '#000000',
  },
}
SCSS
$custom: #203187;
$custom-light: #6c69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#203187",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 230.097,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35889,
    "c": 0.14455,
    "h": 269.1
  },
  "luminance": 0.04253
}

Semantic roles & 50–950 ramp

primary
#203187
secondary
#B8A64B
accent
#CA43E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #203187

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

Preview Lab → · Contrast checker → · Palette generator →

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