#204E8B#204E8B

#204E8B is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.6% C 0.113 H 256.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#204E8B
RGBrgb(32, 78, 139)
HSLhsl(214, 63%, 34%)
HSVhsv(214, 77%, 55%)
CMYKcmyk(77%, 43.9%, 0%, 45.5%)
CIE-LABlab(33.18, 6.96, -38.45)
CIE-LCHlch(33.18, 39.07, 280.26°)
OKLaboklab(42.58% -0.0262 -0.11)
OKLCHoklch(42.58% 0.113 256.6)
XYZxyz(7.9785, 7.6190, 25.4712)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204E8B #8B5D20
analogous
#20838B #204E8B #28208B
triadic
#204E8B #8B204E #4E8B20
tetradic
#204E8B #8B2083 #8B5D20 #208B28
square
#204E8B #8B2083 #8B5D20 #208B28
split-complementary
#204E8B #8B2820 #838B20
monochromatic
#091628 #153259 #204E8B #2B6ABD #4F89D6

Accessibility & contrast

On white

8.32
#204E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#204E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204E8B
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204E8B#FFFFFF#000000##FFFFFF
##204E8B1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#1D498A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204e8b;
/* rgb */ color: rgb(32, 78, 139);
/* oklch */ color: oklch(42.6% 0.113 256.6);
Tailwind
colors: {
  custom: {
    50: '#6b7fad',
    500: '#204e8b',
    950: '#000000',
  },
}
SCSS
$custom: #204e8b;
$custom-light: #6b7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#204e8b",
  "rgb": {
    "r": 32,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 214.206,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4258,
    "c": 0.11306,
    "h": 256.6
  },
  "luminance": 0.0762
}

Semantic roles & 50–950 ramp

primary
#204E8B
secondary
#BA8B4D
accent
#9F42E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #204E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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