#406E98#406E98

#406E98 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.4% C 0.084 H 247.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#406E98
RGBrgb(64, 110, 152)
HSLhsl(209, 41%, 42%)
HSVhsv(209, 58%, 60%)
CMYKcmyk(57.9%, 27.6%, 0%, 40.4%)
CIE-LABlab(44.95, -2.78, -27.60)
CIE-LCHlch(44.95, 27.74, 264.24°)
OKLaboklab(52.39% -0.0319 -0.0775)
OKLCHoklch(52.39% 0.084 247.6)
XYZxyz(13.3557, 14.5077, 31.7961)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E98 #986A40
analogous
#409896 #406E98 #404298
triadic
#406E98 #98406E #6E9840
tetradic
#406E98 #964098 #986A40 #429840
square
#406E98 #964098 #986A40 #429840
split-complementary
#406E98 #984042 #989640
monochromatic
#1C3042 #2E4F6D #406E98 #5B8DBA #86ABCC

Accessibility & contrast

On white

5.38
#406E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#406E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406E98
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406E98#FFFFFF#000000##FFFFFF
##406E981.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F9A
Deuteranopia (green-blind)
#516697
Tritanopia (blue-blind)
#00787D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #406e98;
/* rgb */ color: rgb(64, 110, 152);
/* oklch */ color: oklch(52.4% 0.084 247.6);
Tailwind
colors: {
  custom: {
    50: '#7c97b6',
    500: '#406e98',
    950: '#000000',
  },
}
SCSS
$custom: #406e98;
$custom-light: #7c97b6;
$custom-dark: #000000;
JSON
{
  "hex": "#406e98",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 152
  },
  "hsl": {
    "h": 208.636,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52387,
    "c": 0.0838,
    "h": 247.6
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#406E98
secondary
#B7997D
accent
#9157D1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D11
muted
#7C7E80

Preview Lab

Preview with #406E98

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

Preview Lab → · Contrast checker → · Palette generator →

#406E98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva