#40679D#40679D

#40679D is a mid, moderate cyan. Relative luminance 0.132; OKLCH L 51.0% C 0.097 H 256.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#40679D
RGBrgb(64, 103, 157)
HSLhsl(215, 42%, 43%)
HSVhsv(215, 59%, 62%)
CMYKcmyk(59.2%, 34.4%, 0%, 38.4%)
CIE-LABlab(43.10, 3.20, -33.47)
CIE-LCHlch(43.10, 33.62, 275.46°)
OKLaboklab(51.01% -0.0222 -0.0946)
OKLCHoklch(51.01% 0.097 256.8)
XYZxyz(13.0483, 13.2237, 33.7566)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40679D #9D7640
analogous
#40959D #40679D #48409D
triadic
#40679D #9D4067 #679D40
tetradic
#40679D #9D4095 #9D7640 #409D48
square
#40679D #9D4095 #9D7640 #409D48
split-complementary
#40679D #9D4840 #959D40
monochromatic
#1D2E46 #2E4A72 #40679D #5D85BD #89A6CF

Accessibility & contrast

On white

5.76
#40679D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#40679D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40679D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40679D#FFFFFF#000000##FFFFFF
##40679D1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516B9F
Deuteranopia (green-blind)
#45629C
Tritanopia (blue-blind)
#00737B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #40679d;
/* rgb */ color: rgb(64, 103, 157);
/* oklch */ color: oklch(51.0% 0.097 256.8);
Tailwind
colors: {
  custom: {
    50: '#7c92ba',
    500: '#40679d',
    950: '#000000',
  },
}
SCSS
$custom: #40679d;
$custom-light: #7c92ba;
$custom-dark: #000000;
JSON
{
  "hex": "#40679d",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 157
  },
  "hsl": {
    "h": 214.839,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51012,
    "c": 0.09714,
    "h": 256.8
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#40679D
secondary
#B9A17F
accent
#9E56D2
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #40679D

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

Preview Lab → · Contrast checker → · Palette generator →

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