#204FA6#204FA6

#204FA6 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.150 H 261.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#204FA6
RGBrgb(32, 79, 166)
HSLhsl(219, 68%, 39%)
HSVhsv(219, 81%, 65%)
CMYKcmyk(80.7%, 52.4%, 0%, 34.9%)
CIE-LABlab(35.30, 17.03, -51.36)
CIE-LCHlch(35.30, 54.11, 288.34°)
OKLaboklab(44.8% -0.0225 -0.148)
OKLCHoklch(44.8% 0.15 261.4)
XYZxyz(10.2721, 8.6510, 37.1974)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204FA6 #A67720
analogous
#2092A6 #204FA6 #3420A6
triadic
#204FA6 #A6204F #4FA620
tetradic
#204FA6 #A62092 #A67720 #20A634
square
#204FA6 #A62092 #A67720 #20A634
split-complementary
#204FA6 #A63420 #92A620
monochromatic
#0C1E3F #163773 #204FA6 #2D68D6 #608DE0

Accessibility & contrast

On white

7.69
#204FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#204FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204FA6
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204FA6#FFFFFF#000000##FFFFFF
##204FA61.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1359A9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #204fa6;
/* rgb */ color: rgb(32, 79, 166);
/* oklch */ color: oklch(44.8% 0.150 261.4);
Tailwind
colors: {
  custom: {
    50: '#727fc1',
    500: '#204fa6',
    950: '#000000',
  },
}
SCSS
$custom: #204fa6;
$custom-light: #727fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#204fa6",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 218.955,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44802,
    "c": 0.14966,
    "h": 261.4
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#204FA6
secondary
#C5A05D
accent
#AE3DEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #204FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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