#204271#204271

#204271 is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.9% C 0.090 H 257.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#204271
RGBrgb(32, 66, 113)
HSLhsl(215, 56%, 28%)
HSVhsv(215, 72%, 44%)
CMYKcmyk(71.7%, 41.6%, 0%, 55.7%)
CIE-LABlab(27.83, 4.74, -30.77)
CIE-LCHlch(27.83, 31.14, 278.75°)
OKLaboklab(37.91% -0.0202 -0.0877)
OKLCHoklch(37.91% 0.09 257)
XYZxyz(5.5234, 5.3952, 16.3699)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204271 #714F20
analogous
#206A71 #204271 #262071
triadic
#204271 #712042 #427120
tetradic
#204271 #71206A #714F20 #207126
square
#204271 #71206A #714F20 #207126
split-complementary
#204271 #712620 #6A7120
monochromatic
#070E18 #122641 #204271 #2E5EA1 #427BC9

Accessibility & contrast

On white

10.10
#204271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#204271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204271
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204271#FFFFFF#000000##FFFFFF
##2042711.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#203E70
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #204271;
/* rgb */ color: rgb(32, 66, 113);
/* oklch */ color: oklch(37.9% 0.090 257.0);
Tailwind
colors: {
  custom: {
    50: '#66769a',
    500: '#204271',
    950: '#000000',
  },
}
SCSS
$custom: #204271;
$custom-light: #66769a;
$custom-dark: #000000;
JSON
{
  "hex": "#204271",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 214.815,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37909,
    "c": 0.08998,
    "h": 257
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#204271
secondary
#A57E48
accent
#A049DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #204271

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

Preview Lab → · Contrast checker → · Palette generator →

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