#203F7D#203F7D

#203F7D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.112 H 262.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#203F7D
RGBrgb(32, 63, 125)
HSLhsl(220, 59%, 31%)
HSVhsv(220, 74%, 49%)
CMYKcmyk(74.4%, 49.6%, 0%, 51%)
CIE-LABlab(27.69, 11.59, -38.57)
CIE-LCHlch(27.69, 40.27, 286.72°)
OKLaboklab(38.05% -0.0147 -0.1106)
OKLCHoklch(38.05% 0.112 262.4)
XYZxyz(6.0735, 5.3421, 20.1091)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F7D #7D5E20
analogous
#206D7D #203F7D #2F207D
triadic
#203F7D #7D203F #3F7D20
tetradic
#203F7D #7D206D #7D5E20 #207D2F
square
#203F7D #7D206D #7D5E20 #207D2F
split-complementary
#203F7D #7D2F20 #6D7D20
monochromatic
#070E1C #14264C #203F7D #2C58AE #4775D0

Accessibility & contrast

On white

10.15
#203F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#203F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F7D
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F7D#FFFFFF#000000##FFFFFF
##203F7D1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D467F
Deuteranopia (green-blind)
#043D7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #203f7d;
/* rgb */ color: rgb(32, 63, 125);
/* oklch */ color: oklch(38.0% 0.112 262.4);
Tailwind
colors: {
  custom: {
    50: '#6973a3',
    500: '#203f7d',
    950: '#000000',
  },
}
SCSS
$custom: #203f7d;
$custom-light: #6973a3;
$custom-dark: #000000;
JSON
{
  "hex": "#203f7d",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 220,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3805,
    "c": 0.11163,
    "h": 262.4
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#203F7D
secondary
#B08E49
accent
#AE45E2
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #203F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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