#203274#203274

#203274 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.116 H 268.2°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#203274
RGBrgb(32, 50, 116)
HSLhsl(227, 57%, 29%)
HSVhsv(227, 72%, 45%)
CMYKcmyk(72.4%, 56.9%, 0%, 54.5%)
CIE-LABlab(23.17, 17.12, -40.18)
CIE-LCHlch(23.17, 43.67, 293.08°)
OKLaboklab(34.4% -0.0036 -0.1156)
OKLCHoklch(34.4% 0.116 268.2)
XYZxyz(4.8876, 3.8488, 17.0049)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203274 #746220
analogous
#205C74 #203274 #382074
triadic
#203274 #742032 #327420
tetradic
#203274 #74205C #746220 #207438
square
#203274 #74205C #746220 #207438
split-complementary
#203274 #743820 #5C7420
monochromatic
#070A18 #131D44 #203274 #2D47A4 #4360CB

Accessibility & contrast

On white

11.87
#203274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#203274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203274
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203274#FFFFFF#000000##FFFFFF
##2032741.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #203274;
/* rgb */ color: rgb(32, 50, 116);
/* oklch */ color: oklch(34.4% 0.116 268.2);
Tailwind
colors: {
  custom: {
    50: '#67699d',
    500: '#203274',
    950: '#000000',
  },
}
SCSS
$custom: #203274;
$custom-light: #67699d;
$custom-dark: #000000;
JSON
{
  "hex": "#203274",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 227.143,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34401,
    "c": 0.11567,
    "h": 268.2
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#203274
secondary
#A89348
accent
#BF48E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #203274

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

Preview Lab → · Contrast checker → · Palette generator →

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