#203F78#203F78

#203F78 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.104 H 261.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#203F78
RGBrgb(32, 63, 120)
HSLhsl(219, 58%, 30%)
HSVhsv(219, 73%, 47%)
CMYKcmyk(73.3%, 47.5%, 0%, 52.9%)
CIE-LABlab(27.35, 9.58, -35.98)
CIE-LCHlch(27.35, 37.23, 284.92°)
OKLaboklab(37.68% -0.0156 -0.103)
OKLCHoklch(37.68% 0.104 261.4)
XYZxyz(5.7621, 5.2176, 18.4691)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F78 #785920
analogous
#206B78 #203F78 #2D2078
triadic
#203F78 #78203F #3F7820
tetradic
#203F78 #78206B #785920 #20782D
square
#203F78 #78206B #785920 #20782D
split-complementary
#203F78 #782D20 #6B7820
monochromatic
#060D18 #132648 #203F78 #2D58A8 #4575CD

Accessibility & contrast

On white

10.28
#203F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#203F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F78
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F78#FFFFFF#000000##FFFFFF
##203F781.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#103D77
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #203f78;
/* rgb */ color: rgb(32, 63, 120);
/* oklch */ color: oklch(37.7% 0.104 261.4);
Tailwind
colors: {
  custom: {
    50: '#67739f',
    500: '#203f78',
    950: '#000000',
  },
}
SCSS
$custom: #203f78;
$custom-light: #67739f;
$custom-dark: #000000;
JSON
{
  "hex": "#203f78",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 218.864,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37678,
    "c": 0.10419,
    "h": 261.4
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#203F78
secondary
#AB8848
accent
#AB47E1
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #203F78

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

Preview Lab → · Contrast checker → · Palette generator →

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