#40A5CF#40A5CF

#40A5CF is a light, moderate cyan. Relative luminance 0.325; OKLCH L 68.1% C 0.111 H 229.3°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#40A5CF
RGBrgb(64, 165, 207)
HSLhsl(198, 60%, 53%)
HSVhsv(198, 69%, 81%)
CMYKcmyk(69.1%, 20.3%, 0%, 18.8%)
CIE-LABlab(63.76, -15.79, -29.92)
CIE-LCHlch(63.76, 33.83, 242.17°)
OKLaboklab(68.08% -0.0721 -0.0839)
OKLCHoklch(68.08% 0.111 229.3)
XYZxyz(26.8275, 32.5023, 63.8791)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A5CF #CF6A40
analogous
#40CFB1 #40A5CF #405DCF
triadic
#40A5CF #CF40A5 #A5CF40
tetradic
#40A5CF #B140CF #CF6A40 #5DCF40
square
#40A5CF #B140CF #CF6A40 #5DCF40
split-complementary
#40A5CF #CF405D #CFB140
monochromatic
#1E5D77 #2A83A8 #40A5CF #71BCDB #A2D3E8

Accessibility & contrast

On white

2.80
#40A5CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#40A5CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A5CF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A5CF#FFFFFF#000000##000000
##40A5CF1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA2D1
Deuteranopia (green-blind)
#7C94CE
Tritanopia (blue-blind)
#00B1B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40a5cf;
/* rgb */ color: rgb(64, 165, 207);
/* oklch */ color: oklch(68.1% 0.111 229.3);
Tailwind
colors: {
  custom: {
    50: '#86bfdd',
    500: '#40a5cf',
    950: '#000000',
  },
}
SCSS
$custom: #40a5cf;
$custom-light: #86bfdd;
$custom-dark: #000000;
JSON
{
  "hex": "#40a5cf",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 207
  },
  "hsl": {
    "h": 197.622,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.68085,
    "c": 0.11062,
    "h": 229.3
  },
  "luminance": 0.32505
}

Semantic roles & 50–950 ramp

primary
#40A5CF
secondary
#D4A997
accent
#7345E3
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A5CF

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

Preview Lab → · Contrast checker → · Palette generator →

#40A5CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva