#203166#203166

#203166 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.096 H 267.6°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#203166
RGBrgb(32, 49, 102)
HSLhsl(225, 52%, 26%)
HSVhsv(225, 69%, 40%)
CMYKcmyk(68.6%, 52%, 0%, 60%)
CIE-LABlab(21.81, 12.26, -33.35)
CIE-LCHlch(21.81, 35.53, 290.19°)
OKLaboklab(33.04% -0.004 -0.0955)
OKLCHoklch(33.04% 0.096 267.6)
XYZxyz(4.0914, 3.4626, 13.0205)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203166 #665520
analogous
#205466 #203166 #322066
triadic
#203166 #662031 #316620
tetradic
#203166 #662054 #665520 #206632
square
#203166 #662054 #665520 #206632
split-complementary
#203166 #663220 #546620
monochromatic
#070B17 #111B37 #203166 #2F4795 #3E5EC2

Accessibility & contrast

On white

12.41
#203166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#203166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203166
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203166#FFFFFF#000000##FFFFFF
##2031661.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153868
Deuteranopia (green-blind)
#053165
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #203166;
/* rgb */ color: rgb(32, 49, 102);
/* oklch */ color: oklch(33.0% 0.096 267.6);
Tailwind
colors: {
  custom: {
    50: '#646892',
    500: '#203166',
    950: '#000000',
  },
}
SCSS
$custom: #203166;
$custom-light: #646892;
$custom-dark: #000000;
JSON
{
  "hex": "#203166",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 225.429,
    "s": 52.239,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33037,
    "c": 0.09561,
    "h": 267.6
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#203166
secondary
#9A8648
accent
#B94CDC
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #203166

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

Preview Lab → · Contrast checker → · Palette generator →

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