#204FA1#204FA1

#204FA1 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.143 H 260.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#204FA1
RGBrgb(32, 79, 161)
HSLhsl(218, 67%, 38%)
HSVhsv(218, 80%, 63%)
CMYKcmyk(80.1%, 50.9%, 0%, 36.9%)
CIE-LABlab(34.95, 15.04, -48.94)
CIE-LCHlch(34.95, 51.20, 287.09°)
OKLaboklab(44.42% -0.0231 -0.1409)
OKLCHoklch(44.42% 0.143 260.7)
XYZxyz(9.8223, 8.4711, 34.8287)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204FA1 #A17220
analogous
#208FA1 #204FA1 #3220A1
triadic
#204FA1 #A1204F #4FA120
tetradic
#204FA1 #A1208F #A17220 #20A132
square
#204FA1 #A1208F #A17220 #20A132
split-complementary
#204FA1 #A13220 #8FA120
monochromatic
#0C1D3B #16366E #204FA1 #2A68D4 #5D8CDF

Accessibility & contrast

On white

7.79
#204FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#204FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204FA1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204FA1#FFFFFF#000000##FFFFFF
##204FA11.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C58A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #204fa1;
/* rgb */ color: rgb(32, 79, 161);
/* oklch */ color: oklch(44.4% 0.143 260.7);
Tailwind
colors: {
  custom: {
    50: '#717fbd',
    500: '#204fa1',
    950: '#000000',
  },
}
SCSS
$custom: #204fa1;
$custom-light: #717fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#204fa1",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 218.14,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44415,
    "c": 0.14275,
    "h": 260.7
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#204FA1
secondary
#C39D5A
accent
#AB3EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #204FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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