#203DB3#203DB3

#203DB3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.189 H 266.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#203DB3
RGBrgb(32, 61, 179)
HSLhsl(228, 70%, 41%)
HSVhsv(228, 82%, 70%)
CMYKcmyk(82.1%, 65.9%, 0%, 29.8%)
CIE-LABlab(31.57, 34.08, -65.19)
CIE-LCHlch(31.57, 73.56, 297.60°)
OKLaboklab(42.34% -0.0108 -0.1888)
OKLCHoklch(42.34% 0.189 266.7)
XYZxyz(10.3982, 6.8980, 43.4225)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203DB3 #B39620
analogous
#2087B3 #203DB3 #4D20B3
triadic
#203DB3 #B3203D #3DB320
tetradic
#203DB3 #B32087 #B39620 #20B34D
square
#203DB3 #B32087 #B39620 #20B34D
split-complementary
#203DB3 #B34D20 #87B320
monochromatic
#0D1A4B #172B7F #203DB3 #3556DB #6981E4

Accessibility & contrast

On white

8.82
#203DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#203DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203DB3
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203DB3#FFFFFF#000000##FFFFFF
##203DB31.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #203db3;
/* rgb */ color: rgb(32, 61, 179);
/* oklch */ color: oklch(42.3% 0.189 266.7);
Tailwind
colors: {
  custom: {
    50: '#7672cb',
    500: '#203db3',
    950: '#000000',
  },
}
SCSS
$custom: #203db3;
$custom-light: #7672cb;
$custom-dark: #000000;
JSON
{
  "hex": "#203db3",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 228.163,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42342,
    "c": 0.18913,
    "h": 266.7
  },
  "luminance": 0.06899
}

Semantic roles & 50–950 ramp

primary
#203DB3
secondary
#CAB665
accent
#CA3BEC
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #203DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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