#204182#204182

#204182 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.116 H 262.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#204182
RGBrgb(32, 65, 130)
HSLhsl(220, 60%, 32%)
HSVhsv(220, 75%, 51%)
CMYKcmyk(75.4%, 50%, 0%, 49%)
CIE-LABlab(28.64, 12.20, -40.17)
CIE-LCHlch(28.64, 41.98, 286.90°)
OKLaboklab(38.89% -0.0158 -0.1153)
OKLCHoklch(38.89% 0.116 262.2)
XYZxyz(6.5138, 5.6987, 21.8714)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204182 #826120
analogous
#207282 #204182 #302082
triadic
#204182 #822041 #418220
tetradic
#204182 #822072 #826120 #208230
square
#204182 #822072 #826120 #208230
split-complementary
#204182 #823020 #728220
monochromatic
#081020 #142851 #204182 #2C5AB3 #4A78D2

Accessibility & contrast

On white

9.81
#204182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#204182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204182
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204182#FFFFFF#000000##FFFFFF
##2041821.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4884
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #204182;
/* rgb */ color: rgb(32, 65, 130);
/* oklch */ color: oklch(38.9% 0.116 262.2);
Tailwind
colors: {
  custom: {
    50: '#6a75a7',
    500: '#204182',
    950: '#000000',
  },
}
SCSS
$custom: #204182;
$custom-light: #6a75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#204182",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 219.796,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38891,
    "c": 0.11638,
    "h": 262.2
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#204182
secondary
#B59049
accent
#AE44E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #204182

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

Preview Lab → · Contrast checker → · Palette generator →

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