#204A7C#204A7C

#204A7C is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.6% C 0.096 H 254.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#204A7C
RGBrgb(32, 74, 124)
HSLhsl(213, 59%, 31%)
HSVhsv(213, 74%, 49%)
CMYKcmyk(74.2%, 40.3%, 0%, 51.4%)
CIE-LABlab(31.02, 3.69, -32.62)
CIE-LCHlch(31.02, 32.83, 276.45°)
OKLaboklab(40.6% -0.0258 -0.093)
OKLCHoklch(40.6% 0.096 254.5)
XYZxyz(6.6812, 6.6591, 19.9981)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A7C #7C5220
analogous
#20787C #204A7C #24207C
triadic
#204A7C #7C204A #4A7C20
tetradic
#204A7C #7C2078 #7C5220 #207C24
square
#204A7C #7C2078 #7C5220 #207C24
split-complementary
#204A7C #7C2420 #787C20
monochromatic
#07101B #132D4B #204A7C #2D67AD #4785CF

Accessibility & contrast

On white

9.01
#204A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#204A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204A7C
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A7C#FFFFFF#000000##FFFFFF
##204A7C1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7E
Deuteranopia (green-blind)
#25457B
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #204a7c;
/* rgb */ color: rgb(32, 74, 124);
/* oklch */ color: oklch(40.6% 0.096 254.5);
Tailwind
colors: {
  custom: {
    50: '#687ca2',
    500: '#204a7c',
    950: '#000000',
  },
}
SCSS
$custom: #204a7c;
$custom-light: #687ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#204a7c",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 124
  },
  "hsl": {
    "h": 212.609,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40604,
    "c": 0.09648,
    "h": 254.5
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#204A7C
secondary
#AF8049
accent
#9B46E2
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #204A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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