#40709E#40709E

#40709E is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.2% C 0.090 H 248.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#40709E
RGBrgb(64, 112, 158)
HSLhsl(209, 42%, 44%)
HSVhsv(209, 59%, 62%)
CMYKcmyk(59.5%, 29.1%, 0%, 38%)
CIE-LABlab(45.83, -1.98, -29.77)
CIE-LCHlch(45.83, 29.83, 266.20°)
OKLaboklab(53.17% -0.0323 -0.0838)
OKLCHoklch(53.17% 0.09 248.9)
XYZxyz(14.0778, 15.1457, 34.5227)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40709E #9E6E40
analogous
#409E9D #40709E #40419E
triadic
#40709E #9E4070 #709E40
tetradic
#40709E #9D409E #9E6E40 #419E40
square
#40709E #9D409E #9E6E40 #419E40
split-complementary
#40709E #9E4041 #9E9D40
monochromatic
#1D3247 #2E5172 #40709E #5E8FBE #89ADCF

Accessibility & contrast

On white

5.21
#40709E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#40709E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40709E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40709E#FFFFFF#000000##FFFFFF
##40709E1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D72A0
Deuteranopia (green-blind)
#50689D
Tritanopia (blue-blind)
#007B80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #40709e;
/* rgb */ color: rgb(64, 112, 158);
/* oklch */ color: oklch(53.2% 0.090 248.9);
Tailwind
colors: {
  custom: {
    50: '#7d98bb',
    500: '#40709e',
    950: '#000000',
  },
}
SCSS
$custom: #40709e;
$custom-light: #7d98bb;
$custom-dark: #000000;
JSON
{
  "hex": "#40709e",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 158
  },
  "hsl": {
    "h": 209.362,
    "s": 42.342,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53171,
    "c": 0.08978,
    "h": 248.9
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

primary
#40709E
secondary
#BA9C80
accent
#9356D2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D11
muted
#7C7E80

Preview Lab

Preview with #40709E

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

Preview Lab → · Contrast checker → · Palette generator →

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