#203174#203174

#203174 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.117 H 268.7°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#203174
RGBrgb(32, 49, 116)
HSLhsl(228, 57%, 29%)
HSVhsv(228, 72%, 45%)
CMYKcmyk(72.4%, 57.8%, 0%, 54.5%)
CIE-LABlab(22.88, 17.83, -40.65)
CIE-LCHlch(22.88, 44.38, 293.68°)
OKLaboklab(34.18% -0.0027 -0.117)
OKLCHoklch(34.18% 0.117 268.7)
XYZxyz(4.8453, 3.7642, 16.9908)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203174 #746320
analogous
#205B74 #203174 #392074
triadic
#203174 #742031 #317420
tetradic
#203174 #74205B #746320 #207439
square
#203174 #74205B #746320 #207439
split-complementary
#203174 #743920 #5B7420
monochromatic
#070A18 #131D44 #203174 #2D45A4 #435FCB

Accessibility & contrast

On white

11.98
#203174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#203174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203174
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203174#FFFFFF#000000##FFFFFF
##2031741.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #203174;
/* rgb */ color: rgb(32, 49, 116);
/* oklch */ color: oklch(34.2% 0.117 268.7);
Tailwind
colors: {
  custom: {
    50: '#67689d',
    500: '#203174',
    950: '#000000',
  },
}
SCSS
$custom: #203174;
$custom-light: #67689d;
$custom-dark: #000000;
JSON
{
  "hex": "#203174",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 227.857,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34183,
    "c": 0.11703,
    "h": 268.7
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#203174
secondary
#A89448
accent
#C148E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #203174

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

Preview Lab → · Contrast checker → · Palette generator →

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