#40709C#40709C

#40709C is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.1% C 0.087 H 247.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#40709C
RGBrgb(64, 112, 156)
HSLhsl(209, 42%, 43%)
HSVhsv(209, 59%, 61%)
CMYKcmyk(59%, 28.2%, 0%, 38.8%)
CIE-LABlab(45.74, -2.65, -28.74)
CIE-LCHlch(45.74, 28.86, 264.74°)
OKLaboklab(53.07% -0.0329 -0.0808)
OKLCHoklch(53.07% 0.087 247.8)
XYZxyz(13.9071, 15.0774, 33.6234)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40709C #9C6C40
analogous
#409C9A #40709C #40429C
triadic
#40709C #9C4070 #709C40
tetradic
#40709C #9A409C #9C6C40 #429C40
square
#40709C #9A409C #9C6C40 #429C40
split-complementary
#40709C #9C4042 #9C9A40
monochromatic
#1C3245 #2E5171 #40709C #5D8FBC #88ADCE

Accessibility & contrast

On white

5.23
#40709C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#40709C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40709C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40709C#FFFFFF#000000##FFFFFF
##40709C1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D719E
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#007A7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #40709c;
/* rgb */ color: rgb(64, 112, 156);
/* oklch */ color: oklch(53.1% 0.087 247.8);
Tailwind
colors: {
  custom: {
    50: '#7c98b9',
    500: '#40709c',
    950: '#000000',
  },
}
SCSS
$custom: #40709c;
$custom-light: #7c98b9;
$custom-dark: #000000;
JSON
{
  "hex": "#40709c",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 156
  },
  "hsl": {
    "h": 208.696,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.08723,
    "h": 247.8
  },
  "luminance": 0.15079
}

Semantic roles & 50–950 ramp

primary
#40709C
secondary
#B99B7F
accent
#9156D2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D11
muted
#7C7E80

Preview Lab

Preview with #40709C

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

Preview Lab → · Contrast checker → · Palette generator →

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