#203974#203974

#203974 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.106 H 264.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#203974
RGBrgb(32, 57, 116)
HSLhsl(222, 57%, 29%)
HSVhsv(222, 72%, 45%)
CMYKcmyk(72.4%, 50.9%, 0%, 54.5%)
CIE-LABlab(25.24, 12.17, -36.83)
CIE-LCHlch(25.24, 38.79, 288.29°)
OKLaboklab(35.98% -0.0103 -0.1056)
OKLCHoklch(35.98% 0.106 264.4)
XYZxyz(5.2101, 4.4938, 17.1124)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203974 #745B20
analogous
#206374 #203974 #312074
triadic
#203974 #742039 #397420
tetradic
#203974 #742063 #745B20 #207431
square
#203974 #742063 #745B20 #207431
split-complementary
#203974 #743120 #637420
monochromatic
#070C18 #132144 #203974 #2D51A4 #436CCB

Accessibility & contrast

On white

11.06
#203974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#203974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203974
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203974#FFFFFF#000000##FFFFFF
##2039741.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194076
Deuteranopia (green-blind)
#023873
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #203974;
/* rgb */ color: rgb(32, 57, 116);
/* oklch */ color: oklch(36.0% 0.106 264.4);
Tailwind
colors: {
  custom: {
    50: '#676e9c',
    500: '#203974',
    950: '#000000',
  },
}
SCSS
$custom: #203974;
$custom-light: #676e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#203974",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 116
  },
  "hsl": {
    "h": 222.143,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35975,
    "c": 0.10612,
    "h": 264.4
  },
  "luminance": 0.04494
}

Semantic roles & 50–950 ramp

primary
#203974
secondary
#A88B48
accent
#B348E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #203974

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

Preview Lab → · Contrast checker → · Palette generator →

#203974 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva