#204FA3#204FA3

#204FA3 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.146 H 261.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#204FA3
RGBrgb(32, 79, 163)
HSLhsl(218, 67%, 38%)
HSVhsv(218, 80%, 64%)
CMYKcmyk(80.4%, 51.5%, 0%, 36.1%)
CIE-LABlab(35.09, 15.84, -49.91)
CIE-LCHlch(35.09, 52.37, 287.61°)
OKLaboklab(44.57% -0.0229 -0.1437)
OKLCHoklch(44.57% 0.146 261)
XYZxyz(10.0001, 8.5422, 35.7650)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204FA3 #A37420
analogous
#2090A3 #204FA3 #3220A3
triadic
#204FA3 #A3204F #4FA320
tetradic
#204FA3 #A32090 #A37420 #20A332
square
#204FA3 #A32090 #A37420 #20A332
split-complementary
#204FA3 #A33220 #90A320
monochromatic
#0C1D3D #163670 #204FA3 #2B68D5 #5E8CDF

Accessibility & contrast

On white

7.75
#204FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#204FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204FA3
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204FA3#FFFFFF#000000##FFFFFF
##204FA31.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1959A6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #204fa3;
/* rgb */ color: rgb(32, 79, 163);
/* oklch */ color: oklch(44.6% 0.146 261.0);
Tailwind
colors: {
  custom: {
    50: '#717fbf',
    500: '#204fa3',
    950: '#000000',
  },
}
SCSS
$custom: #204fa3;
$custom-light: #717fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#204fa3",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 218.473,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44569,
    "c": 0.14552,
    "h": 261
  },
  "luminance": 0.08543
}

Semantic roles & 50–950 ramp

primary
#204FA3
secondary
#C49E5B
accent
#AC3EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #204FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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