#40698E#40698E

#40698E is a mid, moderate cyan. Relative luminance 0.131; OKLCH L 50.7% C 0.075 H 247.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#40698E
RGBrgb(64, 105, 142)
HSLhsl(208, 38%, 40%)
HSVhsv(208, 55%, 56%)
CMYKcmyk(54.9%, 26.1%, 0%, 44.3%)
CIE-LABlab(42.98, -3.07, -24.71)
CIE-LCHlch(42.98, 24.90, 262.91°)
OKLaboklab(50.68% -0.0292 -0.0692)
OKLCHoklch(50.68% 0.075 247.1)
XYZxyz(12.0467, 13.1452, 27.4884)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40698E #8E6540
analogous
#408E8C #40698E #40428E
triadic
#40698E #8E4069 #698E40
tetradic
#40698E #8C408E #8E6540 #428E40
square
#40698E #8C408E #8E6540 #428E40
split-complementary
#40698E #8E4042 #8E8C40
monochromatic
#1A2B3A #2D4A64 #40698E #5888B4 #82A6C7

Accessibility & contrast

On white

5.79
#40698E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#40698E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40698E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40698E#FFFFFF#000000##FFFFFF
##40698E1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6A90
Deuteranopia (green-blind)
#4F628D
Tritanopia (blue-blind)
#107276
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #40698e;
/* rgb */ color: rgb(64, 105, 142);
/* oklch */ color: oklch(50.7% 0.075 247.1);
Tailwind
colors: {
  custom: {
    50: '#7a93af',
    500: '#40698e',
    950: '#000000',
  },
}
SCSS
$custom: #40698e;
$custom-light: #7a93af;
$custom-dark: #000000;
JSON
{
  "hex": "#40698e",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 142
  },
  "hsl": {
    "h": 208.462,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50684,
    "c": 0.07511,
    "h": 247.1
  },
  "luminance": 0.13146
}

Semantic roles & 50–950 ramp

primary
#40698E
secondary
#B19379
accent
#915ACE
background
#F7F9FA
surface
#EEF1F4
border
#C9CBCE
text
#0A0D10
muted
#7C7E7F

Preview Lab

Preview with #40698E

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

Preview Lab → · Contrast checker → · Palette generator →

#40698E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva