#203F8A#203F8A

#203F8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.131 H 264.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#203F8A
RGBrgb(32, 63, 138)
HSLhsl(222, 62%, 33%)
HSVhsv(222, 77%, 54%)
CMYKcmyk(76.8%, 54.3%, 0%, 45.9%)
CIE-LABlab(28.63, 16.79, -45.14)
CIE-LCHlch(28.63, 48.16, 290.40°)
OKLaboklab(39.07% -0.0131 -0.13)
OKLCHoklch(39.07% 0.131 264.3)
XYZxyz(6.9590, 5.6963, 24.7726)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F8A #8A6B20
analogous
#20748A #203F8A #36208A
triadic
#203F8A #8A203F #3F8A20
tetradic
#203F8A #8A2074 #8A6B20 #208A36
square
#203F8A #8A2074 #8A6B20 #208A36
split-complementary
#203F8A #8A3620 #748A20
monochromatic
#091227 #142858 #203F8A #2C56BC #4E76D6

Accessibility & contrast

On white

9.82
#203F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#203F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F8A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F8A#FFFFFF#000000##FFFFFF
##203F8A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498D
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #203f8a;
/* rgb */ color: rgb(32, 63, 138);
/* oklch */ color: oklch(39.1% 0.131 264.3);
Tailwind
colors: {
  custom: {
    50: '#6c73ad',
    500: '#203f8a',
    950: '#000000',
  },
}
SCSS
$custom: #203f8a;
$custom-light: #6c73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#203f8a",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 222.453,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39072,
    "c": 0.13063,
    "h": 264.3
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#203F8A
secondary
#B9994D
accent
#B642E5
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #203F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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