#406595#406595

#406595 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 50.1% C 0.088 H 255.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#406595
RGBrgb(64, 101, 149)
HSLhsl(214, 40%, 42%)
HSVhsv(214, 57%, 58%)
CMYKcmyk(57%, 32.2%, 0%, 41.6%)
CIE-LABlab(42.10, 1.71, -30.27)
CIE-LCHlch(42.10, 30.32, 273.24°)
OKLaboklab(50.1% -0.0221 -0.0853)
OKLCHoklch(50.1% 0.088 255.4)
XYZxyz(12.1909, 12.5663, 30.2110)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406595 #957040
analogous
#409095 #406595 #464095
triadic
#406595 #954065 #659540
tetradic
#406595 #954090 #957040 #409546
square
#406595 #954090 #957040 #409546
split-complementary
#406595 #954640 #909540
monochromatic
#1B2B3F #2E486A #406595 #5A83B8 #85A3CB

Accessibility & contrast

On white

5.98
#406595 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#406595 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406595
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406595#FFFFFF#000000##FFFFFF
##4065951.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516897
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#027076
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406595;
/* rgb */ color: rgb(64, 101, 149);
/* oklch */ color: oklch(50.1% 0.088 255.4);
Tailwind
colors: {
  custom: {
    50: '#7b90b4',
    500: '#406595',
    950: '#000000',
  },
}
SCSS
$custom: #406595;
$custom-light: #7b90b4;
$custom-dark: #000000;
JSON
{
  "hex": "#406595",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 149
  },
  "hsl": {
    "h": 213.882,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.08812,
    "h": 255.4
  },
  "luminance": 0.12567
}

Semantic roles & 50–950 ramp

primary
#406595
secondary
#B59C7C
accent
#9C58D0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #406595

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

Preview Lab → · Contrast checker → · Palette generator →

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