#407698#407698

#407698 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.3% C 0.078 H 238.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#407698
RGBrgb(64, 118, 152)
HSLhsl(203, 41%, 42%)
HSVhsv(203, 58%, 60%)
CMYKcmyk(57.9%, 22.4%, 0%, 40.4%)
CIE-LABlab(47.38, -7.53, -23.83)
CIE-LCHlch(47.38, 24.99, 252.47°)
OKLaboklab(54.31% -0.0413 -0.0666)
OKLCHoklch(54.31% 0.078 238.2)
XYZxyz(14.2582, 16.3126, 32.0969)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407698 #986240
analogous
#40988E #407698 #404A98
triadic
#407698 #984076 #769840
tetradic
#407698 #8E4098 #986240 #4A9840
square
#407698 #8E4098 #986240 #4A9840
split-complementary
#407698 #98404A #988E40
monochromatic
#1C3342 #2E556D #407698 #5B95BA #86B1CC

Accessibility & contrast

On white

4.93
#407698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#407698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407698
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407698#FFFFFF#000000##FFFFFF
##4076981.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66759A
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407698;
/* rgb */ color: rgb(64, 118, 152);
/* oklch */ color: oklch(54.3% 0.078 238.2);
Tailwind
colors: {
  custom: {
    50: '#7c9db6',
    500: '#407698',
    950: '#000000',
  },
}
SCSS
$custom: #407698;
$custom-light: #7c9db6;
$custom-dark: #000000;
JSON
{
  "hex": "#407698",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 152
  },
  "hsl": {
    "h": 203.182,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54306,
    "c": 0.07839,
    "h": 238.2
  },
  "luminance": 0.16314
}

Semantic roles & 50–950 ramp

primary
#407698
secondary
#B7937D
accent
#8657D1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #407698

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

Preview Lab → · Contrast checker → · Palette generator →

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