#203FA8#203FA8

#203FA8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.172 H 266.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#203FA8
RGBrgb(32, 63, 168)
HSLhsl(226, 68%, 39%)
HSVhsv(226, 81%, 66%)
CMYKcmyk(81%, 62.5%, 0%, 34.1%)
CIE-LABlab(31.09, 28.58, -59.42)
CIE-LCHlch(31.09, 65.94, 295.69°)
OKLaboklab(41.68% -0.0117 -0.1719)
OKLCHoklch(41.68% 0.172 266.1)
XYZxyz(9.4386, 6.6881, 37.8317)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203FA8 #A88920
analogous
#2083A8 #203FA8 #4520A8
triadic
#203FA8 #A8203F #3FA820
tetradic
#203FA8 #A82083 #A88920 #20A845
square
#203FA8 #A82083 #A88920 #20A845
split-complementary
#203FA8 #A84520 #83A820
monochromatic
#0C1841 #162C75 #203FA8 #2E55D7 #617EE1

Accessibility & contrast

On white

8.98
#203FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#203FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203FA8
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203FA8#FFFFFF#000000##FFFFFF
##203FA81.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #203fa8;
/* rgb */ color: rgb(32, 63, 168);
/* oklch */ color: oklch(41.7% 0.172 266.1);
Tailwind
colors: {
  custom: {
    50: '#7373c3',
    500: '#203fa8',
    950: '#000000',
  },
}
SCSS
$custom: #203fa8;
$custom-light: #7373c3;
$custom-dark: #000000;
JSON
{
  "hex": "#203fa8",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 226.324,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41678,
    "c": 0.17231,
    "h": 266.1
  },
  "luminance": 0.06689
}

Semantic roles & 50–950 ramp

primary
#203FA8
secondary
#C6AE5E
accent
#C33DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #203FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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