#203370#203370

#203370 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.108 H 267.4°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#203370
RGBrgb(32, 51, 112)
HSLhsl(226, 56%, 28%)
HSVhsv(226, 71%, 44%)
CMYKcmyk(71.4%, 54.5%, 0%, 56.1%)
CIE-LABlab(23.15, 14.82, -37.64)
CIE-LCHlch(23.15, 40.46, 291.48°)
OKLaboklab(34.29% -0.0049 -0.1081)
OKLCHoklch(34.29% 0.108 267.4)
XYZxyz(4.7031, 3.8441, 15.8202)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203370 #705D20
analogous
#205B70 #203370 #352070
triadic
#203370 #702033 #337020
tetradic
#203370 #70205B #705D20 #207035
square
#203370 #70205B #705D20 #207035
split-complementary
#203370 #703520 #5B7020
monochromatic
#070B18 #121D40 #203370 #2E49A0 #4262C9

Accessibility & contrast

On white

11.87
#203370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#203370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203370
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203370#FFFFFF#000000##FFFFFF
##2033701.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3B72
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #203370;
/* rgb */ color: rgb(32, 51, 112);
/* oklch */ color: oklch(34.3% 0.108 267.4);
Tailwind
colors: {
  custom: {
    50: '#666a99',
    500: '#203370',
    950: '#000000',
  },
}
SCSS
$custom: #203370;
$custom-light: #666a99;
$custom-dark: #000000;
JSON
{
  "hex": "#203370",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 225.75,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34291,
    "c": 0.10824,
    "h": 267.4
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#203370
secondary
#A48E48
accent
#BB49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #203370

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

Preview Lab → · Contrast checker → · Palette generator →

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