#204F8B#204F8B

#204F8B is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.112 H 256.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#204F8B
RGBrgb(32, 79, 139)
HSLhsl(214, 63%, 34%)
HSVhsv(214, 77%, 55%)
CMYKcmyk(77%, 43.2%, 0%, 45.5%)
CIE-LABlab(33.48, 6.29, -37.96)
CIE-LCHlch(33.48, 38.47, 279.41°)
OKLaboklab(42.82% -0.0271 -0.1085)
OKLCHoklch(42.82% 0.112 256)
XYZxyz(8.0501, 7.7622, 25.4951)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F8B #8B5C20
analogous
#20848B #204F8B #26208B
triadic
#204F8B #8B204F #4F8B20
tetradic
#204F8B #8B2084 #8B5C20 #208B26
square
#204F8B #8B2084 #8B5C20 #208B26
split-complementary
#204F8B #8B2620 #848B20
monochromatic
#091628 #153359 #204F8B #2B6BBD #4F8AD6

Accessibility & contrast

On white

8.23
#204F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#204F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F8B
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F8B#FFFFFF#000000##FFFFFF
##204F8B1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548D
Deuteranopia (green-blind)
#1F4A8A
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204f8b;
/* rgb */ color: rgb(32, 79, 139);
/* oklch */ color: oklch(42.8% 0.112 256.0);
Tailwind
colors: {
  custom: {
    50: '#6b7fad',
    500: '#204f8b',
    950: '#000000',
  },
}
SCSS
$custom: #204f8b;
$custom-light: #6b7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#204f8b",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 213.645,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42818,
    "c": 0.11187,
    "h": 256
  },
  "luminance": 0.07763
}

Semantic roles & 50–950 ramp

primary
#204F8B
secondary
#BA8A4D
accent
#9E42E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #204F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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