#203F7C#203F7C

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

Color values

HEX#203F7C
RGBrgb(32, 63, 124)
HSLhsl(220, 59%, 31%)
HSVhsv(220, 74%, 49%)
CMYKcmyk(74.2%, 49.2%, 0%, 51.4%)
CIE-LABlab(27.62, 11.19, -38.06)
CIE-LCHlch(27.62, 39.67, 286.38°)
OKLaboklab(37.97% -0.0149 -0.1091)
OKLCHoklch(37.97% 0.11 262.2)
XYZxyz(6.0100, 5.3167, 19.7744)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F7C #7C5D20
analogous
#206D7C #203F7C #2F207C
triadic
#203F7C #7C203F #3F7C20
tetradic
#203F7C #7C206D #7C5D20 #207C2F
square
#203F7C #7C206D #7C5D20 #207C2F
split-complementary
#203F7C #7C2F20 #6D7C20
monochromatic
#070E1B #13264B #203F7C #2D58AD #4775CF

Accessibility & contrast

On white

10.18
#203F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#203F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F7C
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F7C#FFFFFF#000000##FFFFFF
##203F7C1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467E
Deuteranopia (green-blind)
#073D7B
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #203f7c;
/* rgb */ color: rgb(32, 63, 124);
/* oklch */ color: oklch(38.0% 0.110 262.2);
Tailwind
colors: {
  custom: {
    50: '#6873a2',
    500: '#203f7c',
    950: '#000000',
  },
}
SCSS
$custom: #203f7c;
$custom-light: #6873a2;
$custom-dark: #000000;
JSON
{
  "hex": "#203f7c",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 124
  },
  "hsl": {
    "h": 219.783,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37975,
    "c": 0.11014,
    "h": 262.2
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

primary
#203F7C
secondary
#AF8D49
accent
#AD46E2
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #203F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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