#406B98#406B98

#406B98 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.7% C 0.086 H 250.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#406B98
RGBrgb(64, 107, 152)
HSLhsl(211, 41%, 42%)
HSVhsv(211, 58%, 60%)
CMYKcmyk(57.9%, 29.6%, 0%, 40.4%)
CIE-LABlab(44.05, -0.96, -29.01)
CIE-LCHlch(44.05, 29.03, 268.10°)
OKLaboklab(51.68% -0.0284 -0.0816)
OKLCHoklch(51.68% 0.086 250.8)
XYZxyz(13.0375, 13.8713, 31.6900)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406B98 #986D40
analogous
#409798 #406B98 #414098
triadic
#406B98 #98406B #6B9840
tetradic
#406B98 #984097 #986D40 #409841
square
#406B98 #984097 #986D40 #409841
split-complementary
#406B98 #984140 #979840
monochromatic
#1C2E42 #2E4D6D #406B98 #5B8ABA #86A8CC

Accessibility & contrast

On white

5.56
#406B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#406B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406B98
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406B98#FFFFFF#000000##FFFFFF
##406B981.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586D9A
Deuteranopia (green-blind)
#4D6497
Tritanopia (blue-blind)
#00757B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #406b98;
/* rgb */ color: rgb(64, 107, 152);
/* oklch */ color: oklch(51.7% 0.086 250.8);
Tailwind
colors: {
  custom: {
    50: '#7c95b6',
    500: '#406b98',
    950: '#000000',
  },
}
SCSS
$custom: #406b98;
$custom-light: #7c95b6;
$custom-dark: #000000;
JSON
{
  "hex": "#406b98",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 152
  },
  "hsl": {
    "h": 210.682,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51675,
    "c": 0.08639,
    "h": 250.8
  },
  "luminance": 0.13872
}

Semantic roles & 50–950 ramp

primary
#406B98
secondary
#B79B7D
accent
#9557D1
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#0A0D11
muted
#7C7E80

Preview Lab

Preview with #406B98

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

Preview Lab → · Contrast checker → · Palette generator →

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