#203FA0#203FA0

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

Color values

HEX#203FA0
RGBrgb(32, 63, 160)
HSLhsl(225, 67%, 38%)
HSVhsv(225, 80%, 63%)
CMYKcmyk(80%, 60.6%, 0%, 37.3%)
CIE-LABlab(30.40, 25.48, -55.73)
CIE-LCHlch(30.40, 61.28, 294.58°)
OKLaboklab(40.95% -0.0118 -0.1611)
OKLCHoklch(40.95% 0.162 265.8)
XYZxyz(8.7161, 6.3991, 34.0267)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203FA0 #A08120
analogous
#207FA0 #203FA0 #4120A0
triadic
#203FA0 #A0203F #3FA020
tetradic
#203FA0 #A0207F #A08120 #20A041
square
#203FA0 #A0207F #A08120 #20A041
split-complementary
#203FA0 #A04120 #7FA020
monochromatic
#0C173A #162B6D #203FA0 #2A53D3 #5C7CDE

Accessibility & contrast

On white

9.21
#203FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#203FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203FA0
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203FA0#FFFFFF#000000##FFFFFF
##203FA01.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #203fa0;
/* rgb */ color: rgb(32, 63, 160);
/* oklch */ color: oklch(41.0% 0.162 265.8);
Tailwind
colors: {
  custom: {
    50: '#7173bd',
    500: '#203fa0',
    950: '#000000',
  },
}
SCSS
$custom: #203fa0;
$custom-light: #7173bd;
$custom-dark: #000000;
JSON
{
  "hex": "#203fa0",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 225.469,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40953,
    "c": 0.16151,
    "h": 265.8
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #203FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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