#40A8CB#40A8CB

#40A8CB is a light, moderate cyan. Relative luminance 0.334; OKLCH L 68.6% C 0.107 H 224.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#40A8CB
RGBrgb(64, 168, 203)
HSLhsl(195, 57%, 52%)
HSVhsv(195, 68%, 80%)
CMYKcmyk(68.5%, 17.2%, 0%, 20.4%)
CIE-LABlab(64.49, -18.68, -26.57)
CIE-LCHlch(64.49, 32.48, 234.89°)
OKLaboklab(68.62% -0.0766 -0.0743)
OKLCHoklch(68.62% 0.107 224.1)
XYZxyz(26.8921, 33.4041, 61.5187)
Luminance0.3341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A8CB #CB6340
analogous
#40CBA9 #40A8CB #4062CB
triadic
#40A8CB #CB40A8 #A8CB40
tetradic
#40A8CB #A940CB #CB6340 #62CB40
square
#40A8CB #A940CB #CB6340 #62CB40
split-complementary
#40A8CB #CB4062 #CBA940
monochromatic
#1F5D72 #2C84A2 #40A8CB #70BED8 #A0D4E5

Accessibility & contrast

On white

2.73
#40A8CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#40A8CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A8CB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A8CB#FFFFFF#000000##000000
##40A8CB1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CD
Deuteranopia (green-blind)
#8196CB
Tritanopia (blue-blind)
#00B3B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40a8cb;
/* rgb */ color: rgb(64, 168, 203);
/* oklch */ color: oklch(68.6% 0.107 224.1);
Tailwind
colors: {
  custom: {
    50: '#85c2db',
    500: '#40a8cb',
    950: '#000000',
  },
}
SCSS
$custom: #40a8cb;
$custom-light: #85c2db;
$custom-dark: #000000;
JSON
{
  "hex": "#40a8cb",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 203
  },
  "hsl": {
    "h": 195.108,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.68618,
    "c": 0.10671,
    "h": 224.1
  },
  "luminance": 0.33407
}

Semantic roles & 50–950 ramp

primary
#40A8CB
secondary
#D2A495
accent
#6E47E0
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A8CB

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

Preview Lab → · Contrast checker → · Palette generator →

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