#40A1D3#40A1D3

#40A1D3 is a light, moderate cyan. Relative luminance 0.313; OKLCH L 67.3% C 0.116 H 234.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#40A1D3
RGBrgb(64, 161, 211)
HSLhsl(200, 63%, 54%)
HSVhsv(200, 70%, 83%)
CMYKcmyk(69.7%, 23.7%, 0%, 17.3%)
CIE-LABlab(62.74, -12.31, -33.71)
CIE-LCHlch(62.74, 35.89, 249.94°)
OKLaboklab(67.33% -0.0667 -0.0948)
OKLCHoklch(67.33% 0.116 234.8)
XYZxyz(26.6125, 31.2799, 66.2505)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A1D3 #D37240
analogous
#40D3BC #40A1D3 #4058D3
triadic
#40A1D3 #D340A1 #A1D340
tetradic
#40A1D3 #BC40D3 #D37240 #58D340
square
#40A1D3 #BC40D3 #D37240 #58D340
split-complementary
#40A1D3 #D34058 #D3BC40
monochromatic
#1D5C7C #2880AE #40A1D3 #72B9DE #A3D2EA

Accessibility & contrast

On white

2.89
#40A1D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#40A1D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A1D3
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A1D3#FFFFFF#000000##000000
##40A1D31.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A0D5
Deuteranopia (green-blind)
#7591D2
Tritanopia (blue-blind)
#00AEB2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40a1d3;
/* rgb */ color: rgb(64, 161, 211);
/* oklch */ color: oklch(67.3% 0.116 234.8);
Tailwind
colors: {
  custom: {
    50: '#86bce0',
    500: '#40a1d3',
    950: '#000000',
  },
}
SCSS
$custom: #40a1d3;
$custom-light: #86bce0;
$custom-dark: #000000;
JSON
{
  "hex": "#40a1d3",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 211
  },
  "hsl": {
    "h": 200.408,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.67332,
    "c": 0.11593,
    "h": 234.8
  },
  "luminance": 0.31283
}

Semantic roles & 50–950 ramp

primary
#40A1D3
secondary
#D7AD98
accent
#7A42E6
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #40A1D3

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

Preview Lab → · Contrast checker → · Palette generator →

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