#203161#203161

#203161 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.088 H 266.9°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#203161
RGBrgb(32, 49, 97)
HSLhsl(224, 50%, 25%)
HSVhsv(224, 67%, 38%)
CMYKcmyk(67%, 49.5%, 0%, 62%)
CIE-LABlab(21.46, 10.28, -30.65)
CIE-LCHlch(21.46, 32.33, 288.55°)
OKLaboklab(32.65% -0.0048 -0.0876)
OKLCHoklch(32.65% 0.088 266.9)
XYZxyz(3.8509, 3.3664, 11.7538)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203161 #615020
analogous
#205161 #203161 #2F2061
triadic
#203161 #612031 #316120
tetradic
#203161 #612051 #615020 #20612F
square
#203161 #612051 #615020 #20612F
split-complementary
#203161 #612F20 #516120
monochromatic
#080C17 #111A33 #203161 #2F488F #3E5FBD

Accessibility & contrast

On white

12.55
#203161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#203161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203161
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203161#FFFFFF#000000##FFFFFF
##2031611.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3763
Deuteranopia (green-blind)
#0E3160
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #203161;
/* rgb */ color: rgb(32, 49, 97);
/* oklch */ color: oklch(32.7% 0.088 266.9);
Tailwind
colors: {
  custom: {
    50: '#63688e',
    500: '#203161',
    950: '#000000',
  },
}
SCSS
$custom: #203161;
$custom-light: #63688e;
$custom-dark: #000000;
JSON
{
  "hex": "#203161",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 224.308,
    "s": 50.388,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32654,
    "c": 0.08772,
    "h": 266.9
  },
  "luminance": 0.03367
}

Semantic roles & 50–950 ramp

primary
#203161
secondary
#958147
accent
#B54EDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #203161

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

Preview Lab → · Contrast checker → · Palette generator →

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