#40679A#40679A

#40679A is a mid, moderate cyan. Relative luminance 0.131; OKLCH L 50.8% C 0.093 H 255.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#40679A
RGBrgb(64, 103, 154)
HSLhsl(214, 41%, 43%)
HSVhsv(214, 58%, 60%)
CMYKcmyk(58.4%, 33.1%, 0%, 39.6%)
CIE-LABlab(42.95, 2.17, -31.92)
CIE-LCHlch(42.95, 32.00, 273.89°)
OKLaboklab(50.85% -0.023 -0.0901)
OKLCHoklch(50.85% 0.093 255.6)
XYZxyz(12.7953, 13.1225, 32.4242)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40679A #9A7340
analogous
#40949A #40679A #46409A
triadic
#40679A #9A4067 #679A40
tetradic
#40679A #9A4094 #9A7340 #409A46
square
#40679A #9A4094 #9A7340 #409A46
split-complementary
#40679A #9A4640 #949A40
monochromatic
#1C2D44 #2E4A6F #40679A #5C85BB #87A6CD

Accessibility & contrast

On white

5.79
#40679A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#40679A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40679A
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40679A#FFFFFF#000000##FFFFFF
##40679A1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9C
Deuteranopia (green-blind)
#466299
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #40679a;
/* rgb */ color: rgb(64, 103, 154);
/* oklch */ color: oklch(50.8% 0.093 255.6);
Tailwind
colors: {
  custom: {
    50: '#7c92b8',
    500: '#40679a',
    950: '#000000',
  },
}
SCSS
$custom: #40679a;
$custom-light: #7c92b8;
$custom-dark: #000000;
JSON
{
  "hex": "#40679a",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 154
  },
  "hsl": {
    "h": 214,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50845,
    "c": 0.09298,
    "h": 255.6
  },
  "luminance": 0.13124
}

Semantic roles & 50–950 ramp

primary
#40679A
secondary
#B89F7E
accent
#9C57D1
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #40679A

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

Preview Lab → · Contrast checker → · Palette generator →

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