#204380#204380

#204380 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.111 H 260.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#204380
RGBrgb(32, 67, 128)
HSLhsl(218, 60%, 31%)
HSVhsv(218, 75%, 50%)
CMYKcmyk(75%, 47.7%, 0%, 49.8%)
CIE-LABlab(29.11, 10.02, -38.17)
CIE-LCHlch(29.11, 39.46, 284.72°)
OKLaboklab(39.21% -0.018 -0.1094)
OKLCHoklch(39.21% 0.111 260.6)
XYZxyz(6.4977, 5.8792, 21.2102)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204380 #805D20
analogous
#207380 #204380 #2D2080
triadic
#204380 #802043 #438020
tetradic
#204380 #802073 #805D20 #20802D
square
#204380 #802073 #805D20 #20802D
split-complementary
#204380 #802D20 #738020
monochromatic
#08101E #14294F #204380 #2C5DB1 #497BD1

Accessibility & contrast

On white

9.65
#204380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#204380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204380
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204380#FFFFFF#000000##FFFFFF
##2043801.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234982
Deuteranopia (green-blind)
#0E407F
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #204380;
/* rgb */ color: rgb(32, 67, 128);
/* oklch */ color: oklch(39.2% 0.111 260.6);
Tailwind
colors: {
  custom: {
    50: '#6976a5',
    500: '#204380',
    950: '#000000',
  },
}
SCSS
$custom: #204380;
$custom-light: #6976a5;
$custom-dark: #000000;
JSON
{
  "hex": "#204380",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 128
  },
  "hsl": {
    "h": 218.125,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39205,
    "c": 0.11086,
    "h": 260.6
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#204380
secondary
#B38C49
accent
#A945E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #204380

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

Preview Lab → · Contrast checker → · Palette generator →

#204380 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva