#203362#203362

#203362 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.2% C 0.087 H 265.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#203362
RGBrgb(32, 51, 98)
HSLhsl(223, 51%, 25%)
HSVhsv(223, 67%, 38%)
CMYKcmyk(67.3%, 48%, 0%, 61.6%)
CIE-LABlab(22.15, 9.25, -30.20)
CIE-LCHlch(22.15, 31.58, 287.03°)
OKLaboklab(33.21% -0.0069 -0.0862)
OKLCHoklch(33.21% 0.087 265.4)
XYZxyz(3.9833, 3.5562, 12.0294)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203362 #624F20
analogous
#205462 #203362 #2E2062
triadic
#203362 #622033 #336220
tetradic
#203362 #622054 #624F20 #20622E
square
#203362 #622054 #624F20 #20622E
split-complementary
#203362 #622E20 #546220
monochromatic
#080C17 #111B34 #203362 #2F4B90 #3E63BE

Accessibility & contrast

On white

12.27
#203362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#203362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203362
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203362#FFFFFF#000000##FFFFFF
##2033621.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3864
Deuteranopia (green-blind)
#123261
Tritanopia (blue-blind)
#003E45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #203362;
/* rgb */ color: rgb(32, 51, 98);
/* oklch */ color: oklch(33.2% 0.087 265.4);
Tailwind
colors: {
  custom: {
    50: '#636a8f',
    500: '#203362',
    950: '#000000',
  },
}
SCSS
$custom: #203362;
$custom-light: #636a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#203362",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 98
  },
  "hsl": {
    "h": 222.727,
    "s": 50.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33205,
    "c": 0.08651,
    "h": 265.4
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#203362
secondary
#968047
accent
#B24EDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #203362

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

Preview Lab → · Contrast checker → · Palette generator →

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