#204284#204284

#204284 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.118 H 262.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#204284
RGBrgb(32, 66, 132)
HSLhsl(220, 61%, 32%)
HSVhsv(220, 76%, 52%)
CMYKcmyk(75.8%, 50%, 0%, 48.2%)
CIE-LABlab(29.08, 12.31, -40.70)
CIE-LCHlch(29.08, 42.52, 286.83°)
OKLaboklab(39.27% -0.0164 -0.1169)
OKLCHoklch(39.27% 0.118 262)
XYZxyz(6.7072, 5.8687, 22.6046)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204284 #846220
analogous
#207484 #204284 #302084
triadic
#204284 #842042 #428420
tetradic
#204284 #842074 #846220 #208430
square
#204284 #842074 #846220 #208430
split-complementary
#204284 #843020 #748420
monochromatic
#081121 #142953 #204284 #2C5BB5 #4B79D3

Accessibility & contrast

On white

9.66
#204284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#204284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204284
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204284#FFFFFF#000000##FFFFFF
##2042841.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4986
Deuteranopia (green-blind)
#004083
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #204284;
/* rgb */ color: rgb(32, 66, 132);
/* oklch */ color: oklch(39.3% 0.118 262.0);
Tailwind
colors: {
  custom: {
    50: '#6a75a8',
    500: '#204284',
    950: '#000000',
  },
}
SCSS
$custom: #204284;
$custom-light: #6a75a8;
$custom-dark: #000000;
JSON
{
  "hex": "#204284",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 219.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39272,
    "c": 0.11801,
    "h": 262
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#204284
secondary
#B6914A
accent
#AE44E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #204284

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

Preview Lab → · Contrast checker → · Palette generator →

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