#204FB4#204FB4

#204FB4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.169 H 262.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#204FB4
RGBrgb(32, 79, 180)
HSLhsl(221, 70%, 42%)
HSVhsv(221, 82%, 71%)
CMYKcmyk(82.2%, 56.1%, 0%, 29.4%)
CIE-LABlab(36.35, 22.55, -57.97)
CIE-LCHlch(36.35, 62.20, 291.25°)
OKLaboklab(45.93% -0.0211 -0.1674)
OKLCHoklch(45.93% 0.169 262.8)
XYZxyz(11.6269, 9.1929, 44.3328)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204FB4 #B48520
analogous
#2099B4 #204FB4 #3B20B4
triadic
#204FB4 #B4204F #4FB420
tetradic
#204FB4 #B42099 #B48520 #20B43B
square
#204FB4 #B42099 #B48520 #20B43B
split-complementary
#204FB4 #B43B20 #99B420
monochromatic
#0E214C #173880 #204FB4 #366ADB #6A91E4

Accessibility & contrast

On white

7.40
#204FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#204FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204FB4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204FB4#FFFFFF#000000##FFFFFF
##204FB41.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #204fb4;
/* rgb */ color: rgb(32, 79, 180);
/* oklch */ color: oklch(45.9% 0.169 262.8);
Tailwind
colors: {
  custom: {
    50: '#757fcb',
    500: '#204fb4',
    950: '#000000',
  },
}
SCSS
$custom: #204fb4;
$custom-light: #757fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#204fb4",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 220.946,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4593,
    "c": 0.16874,
    "h": 262.8
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

primary
#204FB4
secondary
#CAAA66
accent
#B43BED
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #204FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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