#40A7CB#40A7CB

#40A7CB is a light, moderate cyan. Relative luminance 0.330; OKLCH L 68.4% C 0.107 H 225.0°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#40A7CB
RGBrgb(64, 167, 203)
HSLhsl(196, 57%, 52%)
HSVhsv(196, 68%, 80%)
CMYKcmyk(68.5%, 17.7%, 0%, 20.4%)
CIE-LABlab(64.19, -18.15, -27.03)
CIE-LCHlch(64.19, 32.56, 236.11°)
OKLaboklab(68.38% -0.0756 -0.0756)
OKLCHoklch(68.38% 0.107 225)
XYZxyz(26.7082, 33.0363, 61.4574)
Luminance0.3304 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7CB #CB6440
analogous
#40CBAA #40A7CB #4061CB
triadic
#40A7CB #CB40A7 #A7CB40
tetradic
#40A7CB #AA40CB #CB6440 #61CB40
square
#40A7CB #AA40CB #CB6440 #61CB40
split-complementary
#40A7CB #CB4061 #CBAA40
monochromatic
#1F5C72 #2C83A2 #40A7CB #70BDD8 #A0D3E5

Accessibility & contrast

On white

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

On black

7.61
#40A7CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7CB
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7CB#FFFFFF#000000##000000
##40A7CB1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CD
Deuteranopia (green-blind)
#8095CB
Tritanopia (blue-blind)
#00B2B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40a7cb;
/* rgb */ color: rgb(64, 167, 203);
/* oklch */ color: oklch(68.4% 0.107 225.0);
Tailwind
colors: {
  custom: {
    50: '#85c1db',
    500: '#40a7cb',
    950: '#000000',
  },
}
SCSS
$custom: #40a7cb;
$custom-light: #85c1db;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7cb",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 203
  },
  "hsl": {
    "h": 195.54,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6838,
    "c": 0.10691,
    "h": 225
  },
  "luminance": 0.33039
}

Semantic roles & 50–950 ramp

primary
#40A7CB
secondary
#D2A595
accent
#6F47E0
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A7CB

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

Preview Lab → · Contrast checker → · Palette generator →

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