#204281#204281

#204281 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.114 H 261.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#204281
RGBrgb(32, 66, 129)
HSLhsl(219, 60%, 32%)
HSVhsv(219, 75%, 51%)
CMYKcmyk(75.2%, 48.8%, 0%, 49.4%)
CIE-LABlab(28.87, 11.11, -39.17)
CIE-LCHlch(28.87, 40.72, 285.84°)
OKLaboklab(39.05% -0.0169 -0.1123)
OKLCHoklch(39.05% 0.114 261.4)
XYZxyz(6.5049, 5.7878, 21.5390)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204281 #815F20
analogous
#207381 #204281 #2F2081
triadic
#204281 #812042 #428120
tetradic
#204281 #812073 #815F20 #20812F
square
#204281 #812073 #815F20 #20812F
split-complementary
#204281 #812F20 #738120
monochromatic
#08101F #142950 #204281 #2C5BB2 #4979D2

Accessibility & contrast

On white

9.73
#204281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#204281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204281
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204281#FFFFFF#000000##FFFFFF
##2042811.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204983
Deuteranopia (green-blind)
#074080
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #204281;
/* rgb */ color: rgb(32, 66, 129);
/* oklch */ color: oklch(39.0% 0.114 261.4);
Tailwind
colors: {
  custom: {
    50: '#6975a6',
    500: '#204281',
    950: '#000000',
  },
}
SCSS
$custom: #204281;
$custom-light: #6975a6;
$custom-dark: #000000;
JSON
{
  "hex": "#204281",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 218.969,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39046,
    "c": 0.11362,
    "h": 261.4
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#204281
secondary
#B48E49
accent
#AC44E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #204281

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

Preview Lab → · Contrast checker → · Palette generator →

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