#204279#204279

#204279 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.102 H 259.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#204279
RGBrgb(32, 66, 121)
HSLhsl(217, 58%, 30%)
HSVhsv(217, 74%, 47%)
CMYKcmyk(73.6%, 45.5%, 0%, 52.5%)
CIE-LABlab(28.34, 7.91, -35.02)
CIE-LCHlch(28.34, 35.90, 282.73°)
OKLaboklab(38.46% -0.0184 -0.1001)
OKLCHoklch(38.46% 0.102 259.6)
XYZxyz(5.9938, 5.5833, 18.8473)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204279 #795720
analogous
#206E79 #204279 #2B2079
triadic
#204279 #792042 #427920
tetradic
#204279 #79206E #795720 #20792B
square
#204279 #79206E #795720 #20792B
split-complementary
#204279 #792B20 #6E7920
monochromatic
#060D18 #132849 #204279 #2D5CA9 #457ACE

Accessibility & contrast

On white

9.92
#204279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#204279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204279
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204279#FFFFFF#000000##FFFFFF
##2042791.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27477B
Deuteranopia (green-blind)
#173F78
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #204279;
/* rgb */ color: rgb(32, 66, 121);
/* oklch */ color: oklch(38.5% 0.102 259.6);
Tailwind
colors: {
  custom: {
    50: '#6875a0',
    500: '#204279',
    950: '#000000',
  },
}
SCSS
$custom: #204279;
$custom-light: #6875a0;
$custom-dark: #000000;
JSON
{
  "hex": "#204279",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 121
  },
  "hsl": {
    "h": 217.079,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.38462,
    "c": 0.10183,
    "h": 259.6
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#204279
secondary
#AC8649
accent
#A646E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #204279

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

Preview Lab → · Contrast checker → · Palette generator →

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