#203A7F#203A7F

#203A7F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.1% C 0.121 H 265.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#203A7F
RGBrgb(32, 58, 127)
HSLhsl(224, 60%, 31%)
HSVhsv(224, 75%, 50%)
CMYKcmyk(74.8%, 54.3%, 0%, 50.2%)
CIE-LABlab(26.35, 15.87, -41.99)
CIE-LCHlch(26.35, 44.89, 290.71°)
OKLaboklab(37.07% -0.0099 -0.1208)
OKLCHoklch(37.07% 0.121 265.3)
XYZxyz(5.9381, 4.8649, 20.7006)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203A7F #7F6520
analogous
#20697F #203A7F #35207F
triadic
#203A7F #7F203A #3A7F20
tetradic
#203A7F #7F2069 #7F6520 #207F35
square
#203A7F #7F2069 #7F6520 #207F35
split-complementary
#203A7F #7F3520 #697F20
monochromatic
#070D1D #14244E #203A7F #2C50B0 #486ED1

Accessibility & contrast

On white

10.64
#203A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#203A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203A7F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203A7F#FFFFFF#000000##FFFFFF
##203A7F1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4381
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #203a7f;
/* rgb */ color: rgb(32, 58, 127);
/* oklch */ color: oklch(37.1% 0.121 265.3);
Tailwind
colors: {
  custom: {
    50: '#696fa5',
    500: '#203a7f',
    950: '#000000',
  },
}
SCSS
$custom: #203a7f;
$custom-light: #696fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#203a7f",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 223.579,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37074,
    "c": 0.1212,
    "h": 265.3
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#203A7F
secondary
#B29549
accent
#B845E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #203A7F

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

Preview Lab → · Contrast checker → · Palette generator →

#203A7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva