#40A3F9#40A3F9

#40A3F9 is a light, vivid cyan. Relative luminance 0.341; OKLCH L 69.7% C 0.156 H 248.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#40A3F9
RGBrgb(64, 163, 249)
HSLhsl(208, 94%, 61%)
HSVhsv(208, 74%, 98%)
CMYKcmyk(74.3%, 34.5%, 0%, 2.4%)
CIE-LABlab(65.06, -0.45, -51.01)
CIE-LCHlch(65.06, 51.01, 269.49°)
OKLaboklab(69.73% -0.0572 -0.1451)
OKLCHoklch(69.73% 0.156 248.5)
XYZxyz(32.3039, 34.1202, 94.4875)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A3F9 #F99640
analogous
#40F9F3 #40A3F9 #4047F9
triadic
#40A3F9 #F940A3 #A3F940
tetradic
#40A3F9 #F340F9 #F99640 #47F940
square
#40A3F9 #F340F9 #F99640 #47F940
split-complementary
#40A3F9 #F94047 #F9F340
monochromatic
#0666B9 #0886F4 #40A3F9 #7BC0FB #B7DCFD

Accessibility & contrast

On white

2.68
#40A3F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#40A3F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A3F9
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A3F9#FFFFFF#000000##000000
##40A3F91.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FD
Deuteranopia (green-blind)
#6096F7
Tritanopia (blue-blind)
#00B8C2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40a3f9;
/* rgb */ color: rgb(64, 163, 249);
/* oklch */ color: oklch(69.7% 0.156 248.5);
Tailwind
colors: {
  custom: {
    50: '#8cbdfb',
    500: '#40a3f9',
    950: '#000000',
  },
}
SCSS
$custom: #40a3f9;
$custom-light: #8cbdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#40a3f9",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 249
  },
  "hsl": {
    "h": 207.892,
    "s": 93.909,
    "l": 61.373
  },
  "oklch": {
    "l": 0.69734,
    "c": 0.15592,
    "h": 248.5
  },
  "luminance": 0.34124
}

Semantic roles & 50–950 ramp

primary
#40A3F9
secondary
#EDC8A8
accent
#6B00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1217
muted
#7E8185

Preview Lab

Preview with #40A3F9

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

Preview Lab → · Contrast checker → · Palette generator →

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