#204274#204274

#204274 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.1% C 0.094 H 258.1°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#204274
RGBrgb(32, 66, 116)
HSLhsl(216, 57%, 29%)
HSVhsv(216, 72%, 45%)
CMYKcmyk(72.4%, 43.1%, 0%, 54.5%)
CIE-LABlab(28.02, 5.92, -32.38)
CIE-LCHlch(28.02, 32.92, 280.37°)
OKLaboklab(38.11% -0.0195 -0.0924)
OKLCHoklch(38.11% 0.094 258.1)
XYZxyz(5.6951, 5.4639, 17.2741)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204274 #745220
analogous
#206C74 #204274 #282074
triadic
#204274 #742042 #427420
tetradic
#204274 #74206C #745220 #207428
square
#204274 #74206C #745220 #207428
split-complementary
#204274 #742820 #6C7420
monochromatic
#070E18 #132744 #204274 #2D5DA4 #437ACB

Accessibility & contrast

On white

10.03
#204274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#204274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204274
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204274#FFFFFF#000000##FFFFFF
##2042741.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4676
Deuteranopia (green-blind)
#1D3F73
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #204274;
/* rgb */ color: rgb(32, 66, 116);
/* oklch */ color: oklch(38.1% 0.094 258.1);
Tailwind
colors: {
  custom: {
    50: '#66759c',
    500: '#204274',
    950: '#000000',
  },
}
SCSS
$custom: #204274;
$custom-light: #66759c;
$custom-dark: #000000;
JSON
{
  "hex": "#204274",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 215.714,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38113,
    "c": 0.09443,
    "h": 258.1
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#204274
secondary
#A88148
accent
#A248E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #204274

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

Preview Lab → · Contrast checker → · Palette generator →

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