#40668D#40668D

#40668D is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.9% C 0.076 H 250.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#40668D
RGBrgb(64, 102, 141)
HSLhsl(210, 38%, 40%)
HSVhsv(210, 55%, 55%)
CMYKcmyk(54.6%, 27.7%, 0%, 44.7%)
CIE-LABlab(42.02, -1.58, -25.60)
CIE-LCHlch(42.02, 25.65, 266.48°)
OKLaboklab(49.92% -0.0259 -0.0718)
OKLCHoklch(49.92% 0.076 250.2)
XYZxyz(11.6717, 12.5149, 26.9947)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40668D #8D6740
analogous
#408C8D #40668D #41408D
triadic
#40668D #8D4066 #668D40
tetradic
#40668D #8D408C #8D6740 #408D41
square
#40668D #8D408C #8D6740 #408D41
split-complementary
#40668D #8D4140 #8C8D40
monochromatic
#1A2939 #2D4863 #40668D #5785B3 #81A3C6

Accessibility & contrast

On white

5.99
#40668D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#40668D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40668D
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40668D#FFFFFF#000000##FFFFFF
##40668D1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56678F
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#136F74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #40668d;
/* rgb */ color: rgb(64, 102, 141);
/* oklch */ color: oklch(49.9% 0.076 250.2);
Tailwind
colors: {
  custom: {
    50: '#7a91ae',
    500: '#40668d',
    950: '#000000',
  },
}
SCSS
$custom: #40668d;
$custom-light: #7a91ae;
$custom-dark: #000000;
JSON
{
  "hex": "#40668d",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 141
  },
  "hsl": {
    "h": 210.39,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49915,
    "c": 0.07629,
    "h": 250.2
  },
  "luminance": 0.12516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40668D

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

Preview Lab → · Contrast checker → · Palette generator →

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