#204E8D#204E8D

#204E8D is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.116 H 257.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#204E8D
RGBrgb(32, 78, 141)
HSLhsl(215, 63%, 34%)
HSVhsv(215, 77%, 55%)
CMYKcmyk(77.3%, 44.7%, 0%, 44.7%)
CIE-LABlab(33.30, 7.75, -39.47)
CIE-LCHlch(33.30, 40.22, 281.11°)
OKLaboklab(42.72% -0.0257 -0.113)
OKLCHoklch(42.72% 0.116 257.2)
XYZxyz(8.1260, 7.6780, 26.2479)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204E8D #8D5F20
analogous
#20858D #204E8D #29208D
triadic
#204E8D #8D204E #4E8D20
tetradic
#204E8D #8D2085 #8D5F20 #208D29
square
#204E8D #8D2085 #8D5F20 #208D29
split-complementary
#204E8D #8D2920 #858D20
monochromatic
#091729 #15325B #204E8D #2B6ABF #5089D7

Accessibility & contrast

On white

8.28
#204E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#204E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204E8D
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204E8D#FFFFFF#000000##FFFFFF
##204E8D1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E548F
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204e8d;
/* rgb */ color: rgb(32, 78, 141);
/* oklch */ color: oklch(42.7% 0.116 257.2);
Tailwind
colors: {
  custom: {
    50: '#6c7faf',
    500: '#204e8d',
    950: '#000000',
  },
}
SCSS
$custom: #204e8d;
$custom-light: #6c7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#204e8d",
  "rgb": {
    "r": 32,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 214.679,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42719,
    "c": 0.11589,
    "h": 257.2
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#204E8D
secondary
#BA8D4E
accent
#A142E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #204E8D

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

Preview Lab → · Contrast checker → · Palette generator →

#204E8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva