#203A97#203A97

#203A97 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.155 H 266.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#203A97
RGBrgb(32, 58, 151)
HSLhsl(227, 65%, 36%)
HSVhsv(227, 79%, 59%)
CMYKcmyk(78.8%, 61.6%, 0%, 40.8%)
CIE-LABlab(28.29, 25.37, -53.69)
CIE-LCHlch(28.29, 59.38, 295.29°)
OKLaboklab(39.15% -0.0086 -0.1552)
OKLCHoklch(39.15% 0.155 266.8)
XYZxyz(7.6927, 5.5667, 29.9412)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203A97 #977D20
analogous
#207597 #203A97 #412097
triadic
#203A97 #97203A #3A9720
tetradic
#203A97 #972075 #977D20 #209741
square
#203A97 #972075 #977D20 #209741
split-complementary
#203A97 #974120 #759720
monochromatic
#0B1332 #152764 #203A97 #2B4DC9 #5673DB

Accessibility & contrast

On white

9.94
#203A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#203A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203A97
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203A97#FFFFFF#000000##FFFFFF
##203A971.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #203a97;
/* rgb */ color: rgb(32, 58, 151);
/* oklch */ color: oklch(39.1% 0.155 266.8);
Tailwind
colors: {
  custom: {
    50: '#6f6fb6',
    500: '#203a97',
    950: '#000000',
  },
}
SCSS
$custom: #203a97;
$custom-light: #6f6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#203a97",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 226.891,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39146,
    "c": 0.15542,
    "h": 266.8
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#203A97
secondary
#BFA854
accent
#C340E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203A97

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

Preview Lab → · Contrast checker → · Palette generator →

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