#406271#406271

#406271 is a mid, muted cyan. Relative luminance 0.110; OKLCH L 47.6% C 0.046 H 227.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#406271
RGBrgb(64, 98, 113)
HSLhsl(198, 28%, 35%)
HSVhsv(198, 43%, 44%)
CMYKcmyk(43.4%, 13.3%, 0%, 55.7%)
CIE-LABlab(39.61, -7.97, -12.34)
CIE-LCHlch(39.61, 14.69, 237.15°)
OKLaboklab(47.62% -0.0311 -0.034)
OKLCHoklch(47.62% 0.046 227.5)
XYZxyz(9.4616, 11.0170, 17.2475)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406271 #714F40
analogous
#407168 #406271 #404A71
triadic
#406271 #714062 #627140
tetradic
#406271 #684071 #714F40 #4A7140
square
#406271 #684071 #714F40 #4A7140
split-complementary
#406271 #71404A #716840
monochromatic
#141E23 #2A404A #406271 #568498 #79A1B3

Accessibility & contrast

On white

6.56
#406271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#406271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406271
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406271#FFFFFF#000000##FFFFFF
##4062711.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6172
Deuteranopia (green-blind)
#535B71
Tritanopia (blue-blind)
#2C6667
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #406271;
/* rgb */ color: rgb(64, 98, 113);
/* oklch */ color: oklch(47.6% 0.046 227.5);
Tailwind
colors: {
  custom: {
    50: '#778e99',
    500: '#406271',
    950: '#000000',
  },
}
SCSS
$custom: #406271;
$custom-light: #778e99;
$custom-dark: #000000;
JSON
{
  "hex": "#406271",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 113
  },
  "hsl": {
    "h": 198.367,
    "s": 27.684,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47619,
    "c": 0.04611,
    "h": 227.5
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#406271
secondary
#9E7D6F
accent
#8164C4
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#090C0E
muted
#7B7D7E

Preview Lab

Preview with #406271

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

Preview Lab → · Contrast checker → · Palette generator →

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