#40679C#40679C

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

Color values

HEX#40679C
RGBrgb(64, 103, 156)
HSLhsl(215, 42%, 43%)
HSVhsv(215, 59%, 61%)
CMYKcmyk(59%, 34%, 0%, 38.8%)
CIE-LABlab(43.05, 2.86, -32.95)
CIE-LCHlch(43.05, 33.08, 274.95°)
OKLaboklab(50.96% -0.0225 -0.0931)
OKLCHoklch(50.96% 0.096 256.4)
XYZxyz(12.9632, 13.1897, 33.3088)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40679C #9C7540
analogous
#40959C #40679C #47409C
triadic
#40679C #9C4067 #679C40
tetradic
#40679C #9C4095 #9C7540 #409C47
square
#40679C #9C4095 #9C7540 #409C47
split-complementary
#40679C #9C4740 #959C40
monochromatic
#1C2E45 #2E4A71 #40679C #5D85BC #88A6CE

Accessibility & contrast

On white

5.77
#40679C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#40679C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40679C
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40679C#FFFFFF#000000##FFFFFF
##40679C1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40679c;
/* rgb */ color: rgb(64, 103, 156);
/* oklch */ color: oklch(51.0% 0.096 256.4);
Tailwind
colors: {
  custom: {
    50: '#7c92b9',
    500: '#40679c',
    950: '#000000',
  },
}
SCSS
$custom: #40679c;
$custom-light: #7c92b9;
$custom-dark: #000000;
JSON
{
  "hex": "#40679c",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 156
  },
  "hsl": {
    "h": 214.565,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50956,
    "c": 0.09576,
    "h": 256.4
  },
  "luminance": 0.13191
}

Semantic roles & 50–950 ramp

primary
#40679C
secondary
#B9A07F
accent
#9D56D2
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #40679C

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

Preview Lab → · Contrast checker → · Palette generator →

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