#40709F#40709F

#40709F is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.2% C 0.091 H 249.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#40709F
RGBrgb(64, 112, 159)
HSLhsl(210, 43%, 44%)
HSVhsv(210, 60%, 62%)
CMYKcmyk(59.7%, 29.6%, 0%, 37.6%)
CIE-LABlab(45.88, -1.64, -30.28)
CIE-LCHlch(45.88, 30.33, 266.90°)
OKLaboklab(53.22% -0.032 -0.0853)
OKLCHoklch(53.22% 0.091 249.4)
XYZxyz(14.1643, 15.1803, 34.9778)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40709F #9F6F40
analogous
#409F9E #40709F #40409F
triadic
#40709F #9F4070 #709F40
tetradic
#40709F #9E409F #9F6F40 #409F40
square
#40709F #9E409F #9F6F40 #409F40
split-complementary
#40709F #9F4040 #9F9E40
monochromatic
#1D3348 #2E5173 #40709F #5E8FBE #8AADD0

Accessibility & contrast

On white

5.20
#40709F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#40709F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40709F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40709F#FFFFFF#000000##FFFFFF
##40709F1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40709f;
/* rgb */ color: rgb(64, 112, 159);
/* oklch */ color: oklch(53.2% 0.091 249.4);
Tailwind
colors: {
  custom: {
    50: '#7d98bb',
    500: '#40709f',
    950: '#000000',
  },
}
SCSS
$custom: #40709f;
$custom-light: #7d98bb;
$custom-dark: #000000;
JSON
{
  "hex": "#40709f",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 159
  },
  "hsl": {
    "h": 209.684,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53224,
    "c": 0.09105,
    "h": 249.4
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#40709F
secondary
#BB9D80
accent
#9355D2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #40709F

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

Preview Lab → · Contrast checker → · Palette generator →

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