#203F98#203F98

#203F98 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.150 H 265.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#203F98
RGBrgb(32, 63, 152)
HSLhsl(225, 65%, 36%)
HSVhsv(225, 79%, 60%)
CMYKcmyk(78.9%, 58.6%, 0%, 40.4%)
CIE-LABlab(29.73, 22.35, -51.95)
CIE-LCHlch(29.73, 56.55, 293.28°)
OKLaboklab(40.25% -0.012 -0.15)
OKLCHoklch(40.25% 0.15 265.4)
XYZxyz(8.0387, 6.1282, 30.4589)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F98 #987920
analogous
#207B98 #203F98 #3D2098
triadic
#203F98 #98203F #3F9820
tetradic
#203F98 #98207B #987920 #20983D
square
#203F98 #98207B #987920 #20983D
split-complementary
#203F98 #983D20 #7B9820
monochromatic
#0B1533 #152A65 #203F98 #2B54CB #5779DC

Accessibility & contrast

On white

9.43
#203F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#203F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F98
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F98#FFFFFF#000000##FFFFFF
##203F981.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #203f98;
/* rgb */ color: rgb(32, 63, 152);
/* oklch */ color: oklch(40.2% 0.150 265.4);
Tailwind
colors: {
  custom: {
    50: '#6f73b7',
    500: '#203f98',
    950: '#000000',
  },
}
SCSS
$custom: #203f98;
$custom-light: #6f73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#203f98",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 224.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40249,
    "c": 0.15048,
    "h": 265.4
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#203F98
secondary
#BFA454
accent
#BD40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #203F98

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

Preview Lab → · Contrast checker → · Palette generator →

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