#203FA1#203FA1

#203FA1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.163 H 265.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#203FA1
RGBrgb(32, 63, 161)
HSLhsl(226, 67%, 38%)
HSVhsv(226, 80%, 63%)
CMYKcmyk(80.1%, 60.9%, 0%, 36.9%)
CIE-LABlab(30.48, 25.87, -56.19)
CIE-LCHlch(30.48, 61.86, 294.72°)
OKLaboklab(41.04% -0.0117 -0.1624)
OKLCHoklch(41.04% 0.163 265.9)
XYZxyz(8.8039, 6.4343, 34.4892)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203FA1 #A18220
analogous
#2080A1 #203FA1 #4120A1
triadic
#203FA1 #A1203F #3FA120
tetradic
#203FA1 #A12080 #A18220 #20A141
square
#203FA1 #A12080 #A18220 #20A141
split-complementary
#203FA1 #A14120 #80A120
monochromatic
#0C173B #162B6E #203FA1 #2A53D4 #5D7CDF

Accessibility & contrast

On white

9.18
#203FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#203FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203FA1
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203FA1#FFFFFF#000000##FFFFFF
##203FA11.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #203fa1;
/* rgb */ color: rgb(32, 63, 161);
/* oklch */ color: oklch(41.0% 0.163 265.9);
Tailwind
colors: {
  custom: {
    50: '#7273be',
    500: '#203fa1',
    950: '#000000',
  },
}
SCSS
$custom: #203fa1;
$custom-light: #7273be;
$custom-dark: #000000;
JSON
{
  "hex": "#203fa1",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 225.581,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41043,
    "c": 0.16287,
    "h": 265.9
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

primary
#203FA1
secondary
#C3AA5A
accent
#C03EEA
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #203FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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