#40A3CC#40A3CC

#40A3CC is a light, moderate cyan. Relative luminance 0.316; OKLCH L 67.5% C 0.109 H 229.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#40A3CC
RGBrgb(64, 163, 204)
HSLhsl(198, 58%, 53%)
HSVhsv(198, 69%, 80%)
CMYKcmyk(68.6%, 20.1%, 0%, 20%)
CIE-LABlab(63.05, -15.70, -29.35)
CIE-LCHlch(63.05, 33.28, 241.86°)
OKLaboklab(67.48% -0.0712 -0.0822)
OKLCHoklch(67.48% 0.109 229.1)
XYZxyz(26.1063, 31.6411, 61.8465)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A3CC #CC6940
analogous
#40CCAF #40A3CC #405DCC
triadic
#40A3CC #CC40A3 #A3CC40
tetradic
#40A3CC #AF40CC #CC6940 #5DCC40
square
#40A3CC #AF40CC #CC6940 #5DCC40
split-complementary
#40A3CC #CC405D #CCAF40
monochromatic
#1F5A73 #2C80A3 #40A3CC #70BAD9 #A1D2E6

Accessibility & contrast

On white

2.87
#40A3CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#40A3CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A3CC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A3CC#FFFFFF#000000##000000
##40A3CC1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA0CE
Deuteranopia (green-blind)
#7B92CB
Tritanopia (blue-blind)
#00AFB1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a3cc;
/* rgb */ color: rgb(64, 163, 204);
/* oklch */ color: oklch(67.5% 0.109 229.1);
Tailwind
colors: {
  custom: {
    50: '#85bedb',
    500: '#40a3cc',
    950: '#000000',
  },
}
SCSS
$custom: #40a3cc;
$custom-light: #85bedb;
$custom-dark: #000000;
JSON
{
  "hex": "#40a3cc",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 204
  },
  "hsl": {
    "h": 197.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.67478,
    "c": 0.10878,
    "h": 229.1
  },
  "luminance": 0.31644
}

Semantic roles & 50–950 ramp

primary
#40A3CC
secondary
#D2A795
accent
#7447E1
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A3CC

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

Preview Lab → · Contrast checker → · Palette generator →

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