#40A7CA#40A7CA

#40A7CA is a light, moderate cyan. Relative luminance 0.330; OKLCH L 68.3% C 0.106 H 224.3°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#40A7CA
RGBrgb(64, 167, 202)
HSLhsl(195, 57%, 52%)
HSVhsv(195, 68%, 79%)
CMYKcmyk(68.3%, 17.3%, 0%, 20.8%)
CIE-LABlab(64.15, -18.47, -26.53)
CIE-LCHlch(64.15, 32.33, 235.15°)
OKLaboklab(68.34% -0.076 -0.0741)
OKLCHoklch(68.34% 0.106 224.3)
XYZxyz(26.5894, 32.9887, 60.8318)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7CA #CA6340
analogous
#40CAA8 #40A7CA #4062CA
triadic
#40A7CA #CA40A7 #A7CA40
tetradic
#40A7CA #A840CA #CA6340 #62CA40
square
#40A7CA #A840CA #CA6340 #62CA40
split-complementary
#40A7CA #CA4062 #CAA840
monochromatic
#1F5C70 #2C83A0 #40A7CA #70BDD7 #A0D3E5

Accessibility & contrast

On white

2.76
#40A7CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#40A7CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7CA
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7CA#FFFFFF#000000##000000
##40A7CA1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A3CC
Deuteranopia (green-blind)
#8095CA
Tritanopia (blue-blind)
#00B2B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40a7ca;
/* rgb */ color: rgb(64, 167, 202);
/* oklch */ color: oklch(68.3% 0.106 224.3);
Tailwind
colors: {
  custom: {
    50: '#85c1da',
    500: '#40a7ca',
    950: '#000000',
  },
}
SCSS
$custom: #40a7ca;
$custom-light: #85c1da;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7ca",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 202
  },
  "hsl": {
    "h": 195.217,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.68337,
    "c": 0.10618,
    "h": 224.3
  },
  "luminance": 0.32992
}

Semantic roles & 50–950 ramp

primary
#40A7CA
secondary
#D1A495
accent
#6E48E0
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #40A7CA

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

Preview Lab → · Contrast checker → · Palette generator →

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