#203270#203270

#203270 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.110 H 267.9°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#203270
RGBrgb(32, 50, 112)
HSLhsl(227, 56%, 28%)
HSVhsv(227, 71%, 44%)
CMYKcmyk(71.4%, 55.4%, 0%, 56.1%)
CIE-LABlab(22.85, 15.53, -38.12)
CIE-LCHlch(22.85, 41.16, 292.16°)
OKLaboklab(34.07% -0.0039 -0.1095)
OKLCHoklch(34.07% 0.11 267.9)
XYZxyz(4.6599, 3.7577, 15.8058)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203270 #705E20
analogous
#205A70 #203270 #362070
triadic
#203270 #702032 #327020
tetradic
#203270 #70205A #705E20 #207036
square
#203270 #70205A #705E20 #207036
split-complementary
#203270 #703620 #5A7020
monochromatic
#070B18 #121D40 #203270 #2E47A0 #4260C9

Accessibility & contrast

On white

11.99
#203270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#203270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203270
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203270#FFFFFF#000000##FFFFFF
##2032701.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083A72
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #203270;
/* rgb */ color: rgb(32, 50, 112);
/* oklch */ color: oklch(34.1% 0.110 267.9);
Tailwind
colors: {
  custom: {
    50: '#66699a',
    500: '#203270',
    950: '#000000',
  },
}
SCSS
$custom: #203270;
$custom-light: #66699a;
$custom-dark: #000000;
JSON
{
  "hex": "#203270",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 112
  },
  "hsl": {
    "h": 226.5,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34067,
    "c": 0.10962,
    "h": 267.9
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#203270
secondary
#A48F48
accent
#BD49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #203270

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

Preview Lab → · Contrast checker → · Palette generator →

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