#40668E#40668E

#40668E is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 50.0% C 0.078 H 250.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#40668E
RGBrgb(64, 102, 142)
HSLhsl(211, 38%, 40%)
HSVhsv(211, 55%, 56%)
CMYKcmyk(54.9%, 28.2%, 0%, 44.3%)
CIE-LABlab(42.07, -1.24, -26.13)
CIE-LCHlch(42.07, 26.16, 267.27°)
OKLaboklab(49.97% -0.0255 -0.0733)
OKLCHoklch(49.97% 0.078 250.8)
XYZxyz(11.7465, 12.5448, 27.3883)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40668E #8E6840
analogous
#408D8E #40668E #41408E
triadic
#40668E #8E4066 #668E40
tetradic
#40668E #8E408D #8E6840 #408E41
square
#40668E #8E408D #8E6840 #408E41
split-complementary
#40668E #8E4140 #8D8E40
monochromatic
#1A293A #2D4864 #40668E #5884B4 #82A3C7

Accessibility & contrast

On white

5.98
#40668E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#40668E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##40668E#FFFFFF#000000##FFFFFF
##40668E1.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)
#566890
Deuteranopia (green-blind)
#4C608D
Tritanopia (blue-blind)
#116F74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #40668e;
/* rgb */ color: rgb(64, 102, 142);
/* oklch */ color: oklch(50.0% 0.078 250.8);
Tailwind
colors: {
  custom: {
    50: '#7a91af',
    500: '#40668e',
    950: '#000000',
  },
}
SCSS
$custom: #40668e;
$custom-light: #7a91af;
$custom-dark: #000000;
JSON
{
  "hex": "#40668e",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 142
  },
  "hsl": {
    "h": 210.769,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49967,
    "c": 0.07762,
    "h": 250.8
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#40668E
secondary
#B19679
accent
#955ACE
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#0A0C10
muted
#7C7D7F

Preview Lab

Preview with #40668E

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

Preview Lab → · Contrast checker → · Palette generator →

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