#40668F#40668F

#40668F is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 50.0% C 0.079 H 251.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#40668F
RGBrgb(64, 102, 143)
HSLhsl(211, 38%, 41%)
HSVhsv(211, 55%, 56%)
CMYKcmyk(55.2%, 28.7%, 0%, 43.9%)
CIE-LABlab(42.12, -0.91, -26.66)
CIE-LCHlch(42.12, 26.67, 268.04°)
OKLaboklab(50.02% -0.0252 -0.0748)
OKLCHoklch(50.02% 0.079 251.4)
XYZxyz(11.8219, 12.5750, 27.7855)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40668F #8F6940
analogous
#408D8F #40668F #41408F
triadic
#40668F #8F4066 #668F40
tetradic
#40668F #8F408D #8F6940 #408F41
square
#40668F #8F408D #8F6940 #408F41
split-complementary
#40668F #8F4140 #8D8F40
monochromatic
#1A2A3A #2D4865 #40668F #5884B4 #82A3C7

Accessibility & contrast

On white

5.97
#40668F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#40668F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40668F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40668F#FFFFFF#000000##FFFFFF
##40668F1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556891
Deuteranopia (green-blind)
#4B608E
Tritanopia (blue-blind)
#106F74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #40668f;
/* rgb */ color: rgb(64, 102, 143);
/* oklch */ color: oklch(50.0% 0.079 251.4);
Tailwind
colors: {
  custom: {
    50: '#7b91b0',
    500: '#40668f',
    950: '#000000',
  },
}
SCSS
$custom: #40668f;
$custom-light: #7b91b0;
$custom-dark: #000000;
JSON
{
  "hex": "#40668f",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 143
  },
  "hsl": {
    "h": 211.139,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.07896,
    "h": 251.4
  },
  "luminance": 0.12576
}

Semantic roles & 50–950 ramp

primary
#40668F
secondary
#B29679
accent
#965ACE
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#0A0C10
muted
#7C7D7F

Preview Lab

Preview with #40668F

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

Preview Lab → · Contrast checker → · Palette generator →

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