#203A9C#203A9C

#203A9C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.162 H 267.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#203A9C
RGBrgb(32, 58, 156)
HSLhsl(227, 66%, 37%)
HSVhsv(227, 79%, 61%)
CMYKcmyk(79.5%, 62.8%, 0%, 38.8%)
CIE-LABlab(28.73, 27.31, -56.03)
CIE-LCHlch(28.73, 62.33, 295.98°)
OKLaboklab(39.6% -0.0086 -0.162)
OKLCHoklch(39.6% 0.162 267)
XYZxyz(8.1074, 5.7326, 32.1252)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203A9C #9C8220
analogous
#20789C #203A9C #44209C
triadic
#203A9C #9C203A #3A9C20
tetradic
#203A9C #9C2078 #9C8220 #209C44
square
#203A9C #9C2078 #9C8220 #209C44
split-complementary
#203A9C #9C4420 #789C20
monochromatic
#0B1436 #162769 #203A9C #2A4DCF #5975DD

Accessibility & contrast

On white

9.78
#203A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#203A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203A9C
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203A9C#FFFFFF#000000##FFFFFF
##203A9C1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #203a9c;
/* rgb */ color: rgb(32, 58, 156);
/* oklch */ color: oklch(39.6% 0.162 267.0);
Tailwind
colors: {
  custom: {
    50: '#716fba',
    500: '#203a9c',
    950: '#000000',
  },
}
SCSS
$custom: #203a9c;
$custom-light: #716fba;
$custom-dark: #000000;
JSON
{
  "hex": "#203a9c",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 156
  },
  "hsl": {
    "h": 227.419,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39604,
    "c": 0.16227,
    "h": 267
  },
  "luminance": 0.05733
}

Semantic roles & 50–950 ramp

primary
#203A9C
secondary
#C1AB57
accent
#C53FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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