#40A4E2#40A4E2

#40A4E2 is a light, vivid cyan. Relative luminance 0.331; OKLCH L 68.8% C 0.129 H 240.0°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#40A4E2
RGBrgb(64, 164, 226)
HSLhsl(203, 74%, 57%)
HSVhsv(203, 72%, 89%)
CMYKcmyk(71.7%, 27.4%, 0%, 11.4%)
CIE-LABlab(64.26, -8.93, -39.64)
CIE-LCHlch(64.26, 40.63, 257.30°)
OKLaboklab(68.75% -0.0647 -0.1119)
OKLCHoklch(68.75% 0.129 240)
XYZxyz(29.1119, 33.1286, 76.7969)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A4E2 #E27E40
analogous
#40E2CF #40A4E2 #4053E2
triadic
#40A4E2 #E240A4 #A4E240
tetradic
#40A4E2 #CF40E2 #E27E40 #53E240
square
#40A4E2 #CF40E2 #E27E40 #53E240
split-complementary
#40A4E2 #E24053 #E2CF40
monochromatic
#166292 #1E86C7 #40A4E2 #75BDEA #AAD7F2

Accessibility & contrast

On white

2.75
#40A4E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#40A4E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A4E2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A4E2#FFFFFF#000000##000000
##40A4E21.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A4E5
Deuteranopia (green-blind)
#7195E1
Tritanopia (blue-blind)
#00B4B9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40a4e2;
/* rgb */ color: rgb(64, 164, 226);
/* oklch */ color: oklch(68.8% 0.129 240.0);
Tailwind
colors: {
  custom: {
    50: '#88beeb',
    500: '#40a4e2',
    950: '#000000',
  },
}
SCSS
$custom: #40a4e2;
$custom-light: #88beeb;
$custom-dark: #000000;
JSON
{
  "hex": "#40a4e2",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 226
  },
  "hsl": {
    "h": 202.963,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.68754,
    "c": 0.1293,
    "h": 240
  },
  "luminance": 0.33132
}

Semantic roles & 50–950 ramp

primary
#40A4E2
secondary
#E0B79E
accent
#7E38F0
background
#F9FBFE
surface
#F1F6FD
border
#CBD0D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #40A4E2

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

Preview Lab → · Contrast checker → · Palette generator →

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