#204A8F#204A8F

#204A8F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 41.9% C 0.124 H 259.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#204A8F
RGBrgb(32, 74, 143)
HSLhsl(217, 63%, 34%)
HSVhsv(217, 78%, 56%)
CMYKcmyk(77.6%, 48.3%, 0%, 43.9%)
CIE-LABlab(32.23, 11.25, -42.42)
CIE-LCHlch(32.23, 43.88, 284.85°)
OKLaboklab(41.93% -0.0218 -0.1217)
OKLCHoklch(41.93% 0.124 259.9)
XYZxyz(8.0006, 7.1869, 26.9468)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A8F #8F6520
analogous
#20828F #204A8F #2D208F
triadic
#204A8F #8F204A #4A8F20
tetradic
#204A8F #8F2082 #8F6520 #208F2D
square
#204A8F #8F2082 #8F6520 #208F2D
split-complementary
#204A8F #8F2D20 #828F20
monochromatic
#0A162B #15305D #204A8F #2B64C1 #5184D8

Accessibility & contrast

On white

8.62
#204A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#204A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204A8F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A8F#FFFFFF#000000##FFFFFF
##204A8F1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#05478E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #204a8f;
/* rgb */ color: rgb(32, 74, 143);
/* oklch */ color: oklch(41.9% 0.124 259.9);
Tailwind
colors: {
  custom: {
    50: '#6c7cb0',
    500: '#204a8f',
    950: '#000000',
  },
}
SCSS
$custom: #204a8f;
$custom-light: #6c7cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#204a8f",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 217.297,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41933,
    "c": 0.12368,
    "h": 259.9
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#204A8F
secondary
#BB934F
accent
#A841E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #204A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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