#40758E#40758E

#40758E is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.6% C 0.069 H 230.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#40758E
RGBrgb(64, 117, 142)
HSLhsl(199, 38%, 40%)
HSVhsv(199, 55%, 56%)
CMYKcmyk(54.9%, 17.6%, 0%, 44.3%)
CIE-LABlab(46.66, -10.16, -19.03)
CIE-LCHlch(46.66, 21.57, 241.91°)
OKLaboklab(53.6% -0.0439 -0.0529)
OKLCHoklch(53.6% 0.069 230.3)
XYZxyz(13.3563, 15.7644, 27.9249)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40758E #8E5940
analogous
#408E80 #40758E #404E8E
triadic
#40758E #8E4075 #758E40
tetradic
#40758E #80408E #8E5940 #4E8E40
square
#40758E #80408E #8E5940 #4E8E40
split-complementary
#40758E #8E404E #8E8040
monochromatic
#1A2F3A #2D5264 #40758E #5896B4 #82B1C7

Accessibility & contrast

On white

5.06
#40758E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#40758E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40758E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40758E#FFFFFF#000000##FFFFFF
##40758E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68738F
Deuteranopia (green-blind)
#5D6B8E
Tritanopia (blue-blind)
#087C7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #40758e;
/* rgb */ color: rgb(64, 117, 142);
/* oklch */ color: oklch(53.6% 0.069 230.3);
Tailwind
colors: {
  custom: {
    50: '#7b9caf',
    500: '#40758e',
    950: '#000000',
  },
}
SCSS
$custom: #40758e;
$custom-light: #7b9caf;
$custom-dark: #000000;
JSON
{
  "hex": "#40758e",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 142
  },
  "hsl": {
    "h": 199.231,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.536,
    "c": 0.06876,
    "h": 230.3
  },
  "luminance": 0.15766
}

Semantic roles & 50–950 ramp

primary
#40758E
secondary
#B18B79
accent
#7F5ACE
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0E10
muted
#7C7E7F

Preview Lab

Preview with #40758E

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

Preview Lab → · Contrast checker → · Palette generator →

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