#204FA5#204FA5

#204FA5 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.148 H 261.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#204FA5
RGBrgb(32, 79, 165)
HSLhsl(219, 68%, 39%)
HSVhsv(219, 81%, 65%)
CMYKcmyk(80.6%, 52.1%, 0%, 35.3%)
CIE-LABlab(35.23, 16.63, -50.88)
CIE-LCHlch(35.23, 53.53, 288.10°)
OKLaboklab(44.72% -0.0226 -0.1466)
OKLCHoklch(44.72% 0.148 261.2)
XYZxyz(10.1807, 8.6144, 36.7162)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204FA5 #A57620
analogous
#2091A5 #204FA5 #3320A5
triadic
#204FA5 #A5204F #4FA520
tetradic
#204FA5 #A52091 #A57620 #20A533
square
#204FA5 #A52091 #A57620 #20A533
split-complementary
#204FA5 #A53320 #91A520
monochromatic
#0C1E3E #163672 #204FA5 #2C68D6 #5F8DE0

Accessibility & contrast

On white

7.71
#204FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#204FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204FA5
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204FA5#FFFFFF#000000##FFFFFF
##204FA51.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1559A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #204fa5;
/* rgb */ color: rgb(32, 79, 165);
/* oklch */ color: oklch(44.7% 0.148 261.2);
Tailwind
colors: {
  custom: {
    50: '#727fc0',
    500: '#204fa5',
    950: '#000000',
  },
}
SCSS
$custom: #204fa5;
$custom-light: #727fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#204fa5",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 218.797,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44724,
    "c": 0.14828,
    "h": 261.2
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#204FA5
secondary
#C5A05C
accent
#AD3DEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #204FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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