#203374#203374

#203374 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.114 H 267.7°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#203374
RGBrgb(32, 51, 116)
HSLhsl(226, 57%, 29%)
HSVhsv(226, 72%, 45%)
CMYKcmyk(72.4%, 56%, 0%, 54.5%)
CIE-LABlab(23.46, 16.41, -39.71)
CIE-LCHlch(23.46, 42.96, 292.45°)
OKLaboklab(34.62% -0.0045 -0.1142)
OKLCHoklch(34.62% 0.114 267.7)
XYZxyz(4.9308, 3.9352, 17.0193)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203374 #746120
analogous
#205D74 #203374 #372074
triadic
#203374 #742033 #337420
tetradic
#203374 #74205D #746120 #207437
square
#203374 #74205D #746120 #207437
split-complementary
#203374 #743720 #5D7420
monochromatic
#070B18 #131E44 #203374 #2D48A4 #4362CB

Accessibility & contrast

On white

11.75
#203374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#203374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203374
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203374#FFFFFF#000000##FFFFFF
##2033741.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043C76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #203374;
/* rgb */ color: rgb(32, 51, 116);
/* oklch */ color: oklch(34.6% 0.114 267.7);
Tailwind
colors: {
  custom: {
    50: '#676a9d',
    500: '#203374',
    950: '#000000',
  },
}
SCSS
$custom: #203374;
$custom-light: #676a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#203374",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 226.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3462,
    "c": 0.11429,
    "h": 267.7
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#203374
secondary
#A89248
accent
#BE48E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #203374

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

Preview Lab → · Contrast checker → · Palette generator →

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