#40A4F9#40A4F9

#40A4F9 is a light, vivid cyan. Relative luminance 0.345; OKLCH L 70.0% C 0.155 H 248.0°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#40A4F9
RGBrgb(64, 164, 249)
HSLhsl(208, 94%, 61%)
HSVhsv(208, 74%, 98%)
CMYKcmyk(74.3%, 34.1%, 0%, 2.4%)
CIE-LABlab(65.34, -1.03, -50.57)
CIE-LCHlch(65.34, 50.58, 268.84°)
OKLaboklab(69.96% -0.0581 -0.1437)
OKLCHoklch(69.96% 0.155 248)
XYZxyz(32.4822, 34.4767, 94.5469)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A4F9 #F99540
analogous
#40F9F2 #40A4F9 #4048F9
triadic
#40A4F9 #F940A4 #A4F940
tetradic
#40A4F9 #F240F9 #F99540 #48F940
square
#40A4F9 #F240F9 #F99540 #48F940
split-complementary
#40A4F9 #F94048 #F9F240
monochromatic
#0667B9 #0887F4 #40A4F9 #7BC0FB #B7DDFD

Accessibility & contrast

On white

2.66
#40A4F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#40A4F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A4F9
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A4F9#FFFFFF#000000##000000
##40A4F91.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FD
Deuteranopia (green-blind)
#6297F7
Tritanopia (blue-blind)
#00B8C3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40a4f9;
/* rgb */ color: rgb(64, 164, 249);
/* oklch */ color: oklch(70.0% 0.155 248.0);
Tailwind
colors: {
  custom: {
    50: '#8cbefb',
    500: '#40a4f9',
    950: '#000000',
  },
}
SCSS
$custom: #40a4f9;
$custom-light: #8cbefb;
$custom-dark: #000000;
JSON
{
  "hex": "#40a4f9",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 249
  },
  "hsl": {
    "h": 207.568,
    "s": 93.909,
    "l": 61.373
  },
  "oklch": {
    "l": 0.69955,
    "c": 0.15503,
    "h": 248
  },
  "luminance": 0.3448
}

Semantic roles & 50–950 ramp

primary
#40A4F9
secondary
#EDC8A8
accent
#6900E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1217
muted
#7E8185

Preview Lab

Preview with #40A4F9

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

Preview Lab → · Contrast checker → · Palette generator →

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