#204FA7#204FA7

#204FA7 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.151 H 261.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#204FA7
RGBrgb(32, 79, 167)
HSLhsl(219, 68%, 39%)
HSVhsv(219, 81%, 65%)
CMYKcmyk(80.8%, 52.7%, 0%, 34.5%)
CIE-LABlab(35.38, 17.43, -51.84)
CIE-LCHlch(35.38, 54.69, 288.58°)
OKLaboklab(44.88% -0.0224 -0.1494)
OKLCHoklch(44.88% 0.151 261.5)
XYZxyz(10.3642, 8.6878, 37.6824)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204FA7 #A77820
analogous
#2093A7 #204FA7 #3520A7
triadic
#204FA7 #A7204F #4FA720
tetradic
#204FA7 #A72093 #A77820 #20A735
square
#204FA7 #A72093 #A77820 #20A735
split-complementary
#204FA7 #A73520 #93A720
monochromatic
#0C1E40 #163774 #204FA7 #2D68D7 #618DE1

Accessibility & contrast

On white

7.67
#204FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#204FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204FA7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204FA7#FFFFFF#000000##FFFFFF
##204FA71.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105AAA
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #204fa7;
/* rgb */ color: rgb(32, 79, 167);
/* oklch */ color: oklch(44.9% 0.151 261.5);
Tailwind
colors: {
  custom: {
    50: '#727fc2',
    500: '#204fa7',
    950: '#000000',
  },
}
SCSS
$custom: #204fa7;
$custom-light: #727fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#204fa7",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 219.111,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44881,
    "c": 0.15104,
    "h": 261.5
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#204FA7
secondary
#C5A15D
accent
#AE3DEB
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #204FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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