#40678F#40678F

#40678F is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.3% C 0.078 H 250.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#40678F
RGBrgb(64, 103, 143)
HSLhsl(210, 38%, 41%)
HSVhsv(210, 55%, 56%)
CMYKcmyk(55.2%, 28%, 0%, 43.9%)
CIE-LABlab(42.42, -1.53, -26.19)
CIE-LCHlch(42.42, 26.23, 266.67°)
OKLaboklab(50.26% -0.0264 -0.0734)
OKLCHoklch(50.26% 0.078 250.2)
XYZxyz(11.9208, 12.7727, 27.8185)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40678F #8F6840
analogous
#408E8F #40678F #41408F
triadic
#40678F #8F4067 #678F40
tetradic
#40678F #8F408E #8F6840 #408F41
square
#40678F #8F408E #8F6840 #408F41
split-complementary
#40678F #8F4140 #8E8F40
monochromatic
#1A2A3A #2D4965 #40678F #5886B4 #82A4C7

Accessibility & contrast

On white

5.91
#40678F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#40678F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40678F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40678F#FFFFFF#000000##FFFFFF
##40678F1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576891
Deuteranopia (green-blind)
#4C618E
Tritanopia (blue-blind)
#0F7075
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #40678f;
/* rgb */ color: rgb(64, 103, 143);
/* oklch */ color: oklch(50.3% 0.078 250.2);
Tailwind
colors: {
  custom: {
    50: '#7b92b0',
    500: '#40678f',
    950: '#000000',
  },
}
SCSS
$custom: #40678f;
$custom-light: #7b92b0;
$custom-dark: #000000;
JSON
{
  "hex": "#40678f",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 143
  },
  "hsl": {
    "h": 210.38,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50257,
    "c": 0.07807,
    "h": 250.2
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40678F

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

Preview Lab → · Contrast checker → · Palette generator →

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