#204BA1#204BA1

#204BA1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.148 H 262.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#204BA1
RGBrgb(32, 75, 161)
HSLhsl(220, 67%, 38%)
HSVhsv(220, 80%, 63%)
CMYKcmyk(80.1%, 53.4%, 0%, 36.9%)
CIE-LABlab(33.80, 17.74, -50.80)
CIE-LCHlch(33.80, 53.81, 289.25°)
OKLaboklab(43.54% -0.0201 -0.1464)
OKLCHoklch(43.54% 0.148 262.2)
XYZxyz(9.5424, 7.9113, 34.7354)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204BA1 #A17620
analogous
#208BA1 #204BA1 #3620A1
triadic
#204BA1 #A1204B #4BA120
tetradic
#204BA1 #A1208B #A17620 #20A136
square
#204BA1 #A1208B #A17620 #20A136
split-complementary
#204BA1 #A13620 #8BA120
monochromatic
#0C1B3B #16336E #204BA1 #2A63D4 #5D88DF

Accessibility & contrast

On white

8.13
#204BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#204BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204BA1
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204BA1#FFFFFF#000000##FFFFFF
##204BA11.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B56A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204ba1;
/* rgb */ color: rgb(32, 75, 161);
/* oklch */ color: oklch(43.5% 0.148 262.2);
Tailwind
colors: {
  custom: {
    50: '#717cbd',
    500: '#204ba1',
    950: '#000000',
  },
}
SCSS
$custom: #204ba1;
$custom-light: #717cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#204ba1",
  "rgb": {
    "r": 32,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 220,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43539,
    "c": 0.14777,
    "h": 262.2
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#204BA1
secondary
#C3A05A
accent
#B13EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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