#203162#203162

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

Color values

HEX#203162
RGBrgb(32, 49, 98)
HSLhsl(225, 51%, 25%)
HSVhsv(225, 67%, 38%)
CMYKcmyk(67.3%, 50%, 0%, 61.6%)
CIE-LABlab(21.52, 10.68, -31.19)
CIE-LCHlch(21.52, 32.97, 288.90°)
OKLaboklab(32.73% -0.0046 -0.0892)
OKLCHoklch(32.73% 0.089 267)
XYZxyz(3.8978, 3.3852, 12.0009)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203162 #625120
analogous
#205262 #203162 #302062
triadic
#203162 #622031 #316220
tetradic
#203162 #622052 #625120 #206230
square
#203162 #622052 #625120 #206230
split-complementary
#203162 #623020 #526220
monochromatic
#080C17 #111A34 #203162 #2F4890 #3E5FBE

Accessibility & contrast

On white

12.52
#203162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#203162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203162
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203162#FFFFFF#000000##FFFFFF
##2031621.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193764
Deuteranopia (green-blind)
#0D3161
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #203162;
/* rgb */ color: rgb(32, 49, 98);
/* oklch */ color: oklch(32.7% 0.089 267.0);
Tailwind
colors: {
  custom: {
    50: '#63688f',
    500: '#203162',
    950: '#000000',
  },
}
SCSS
$custom: #203162;
$custom-light: #63688f;
$custom-dark: #000000;
JSON
{
  "hex": "#203162",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 224.545,
    "s": 50.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32729,
    "c": 0.08931,
    "h": 267
  },
  "luminance": 0.03386
}

Semantic roles & 50–950 ramp

primary
#203162
secondary
#968247
accent
#B64EDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #203162

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

Preview Lab → · Contrast checker → · Palette generator →

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