#204B8F#204B8F

#204B8F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.122 H 259.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#204B8F
RGBrgb(32, 75, 143)
HSLhsl(217, 63%, 34%)
HSVhsv(217, 78%, 56%)
CMYKcmyk(77.6%, 47.6%, 0%, 43.9%)
CIE-LABlab(32.53, 10.57, -41.93)
CIE-LCHlch(32.53, 43.25, 284.15°)
OKLaboklab(42.16% -0.0226 -0.1203)
OKLCHoklch(42.16% 0.122 259.3)
XYZxyz(8.0679, 7.3215, 26.9693)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204B8F #8F6420
analogous
#20838F #204B8F #2D208F
triadic
#204B8F #8F204B #4B8F20
tetradic
#204B8F #8F2083 #8F6420 #208F2D
square
#204B8F #8F2083 #8F6420 #208F2D
split-complementary
#204B8F #8F2D20 #838F20
monochromatic
#0A172B #15315D #204B8F #2B65C1 #5186D8

Accessibility & contrast

On white

8.52
#204B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#204B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204B8F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204B8F#FFFFFF#000000##FFFFFF
##204B8F1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275292
Deuteranopia (green-blind)
#0B488E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #204b8f;
/* rgb */ color: rgb(32, 75, 143);
/* oklch */ color: oklch(42.2% 0.122 259.3);
Tailwind
colors: {
  custom: {
    50: '#6c7cb0',
    500: '#204b8f',
    950: '#000000',
  },
}
SCSS
$custom: #204b8f;
$custom-light: #6c7cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#204b8f",
  "rgb": {
    "r": 32,
    "g": 75,
    "b": 143
  },
  "hsl": {
    "h": 216.757,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.12242,
    "h": 259.3
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#204B8F
secondary
#BB924F
accent
#A641E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #204B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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