#40719D#40719D

#40719D is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.4% C 0.088 H 247.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#40719D
RGBrgb(64, 113, 157)
HSLhsl(208, 42%, 43%)
HSVhsv(208, 59%, 62%)
CMYKcmyk(59.2%, 28%, 0%, 38.4%)
CIE-LABlab(46.09, -2.91, -28.78)
CIE-LCHlch(46.09, 28.93, 264.22°)
OKLaboklab(53.36% -0.0338 -0.0809)
OKLCHoklch(53.36% 0.088 247.3)
XYZxyz(14.1031, 15.3333, 34.1082)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40719D #9D6C40
analogous
#409D9A #40719D #40439D
triadic
#40719D #9D4071 #719D40
tetradic
#40719D #9A409D #9D6C40 #439D40
square
#40719D #9A409D #9D6C40 #439D40
split-complementary
#40719D #9D4043 #9D9A40
monochromatic
#1D3246 #2E5272 #40719D #5D90BD #89AECF

Accessibility & contrast

On white

5.16
#40719D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#40719D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40719D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40719D#FFFFFF#000000##FFFFFF
##40719D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E729F
Deuteranopia (green-blind)
#52699C
Tritanopia (blue-blind)
#007B80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #40719d;
/* rgb */ color: rgb(64, 113, 157);
/* oklch */ color: oklch(53.4% 0.088 247.3);
Tailwind
colors: {
  custom: {
    50: '#7d99ba',
    500: '#40719d',
    950: '#000000',
  },
}
SCSS
$custom: #40719d;
$custom-light: #7d99ba;
$custom-dark: #000000;
JSON
{
  "hex": "#40719d",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 157
  },
  "hsl": {
    "h": 208.387,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53356,
    "c": 0.08767,
    "h": 247.3
  },
  "luminance": 0.15335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40719D

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

Preview Lab → · Contrast checker → · Palette generator →

#40719D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva