#40A2F9#40A2F9

#40A2F9 is a light, vivid cyan. Relative luminance 0.338; OKLCH L 69.5% C 0.157 H 249.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#40A2F9
RGBrgb(64, 162, 249)
HSLhsl(208, 94%, 61%)
HSVhsv(208, 74%, 98%)
CMYKcmyk(74.3%, 34.9%, 0%, 2.4%)
CIE-LABlab(64.78, 0.12, -51.46)
CIE-LCHlch(64.78, 51.46, 270.13°)
OKLaboklab(69.51% -0.0563 -0.1464)
OKLCHoklch(69.51% 0.157 249)
XYZxyz(32.1271, 33.7665, 94.4285)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2F9 #F99740
analogous
#40F9F3 #40A2F9 #4046F9
triadic
#40A2F9 #F940A2 #A2F940
tetradic
#40A2F9 #F340F9 #F99740 #46F940
square
#40A2F9 #F340F9 #F99740 #46F940
split-complementary
#40A2F9 #F94046 #F9F340
monochromatic
#0665B9 #0885F4 #40A2F9 #7BBFFB #B7DCFD

Accessibility & contrast

On white

2.71
#40A2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#40A2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2F9
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2F9#FFFFFF#000000##000000
##40A2F91.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FD
Deuteranopia (green-blind)
#5F95F7
Tritanopia (blue-blind)
#00B7C2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40a2f9;
/* rgb */ color: rgb(64, 162, 249);
/* oklch */ color: oklch(69.5% 0.157 249.0);
Tailwind
colors: {
  custom: {
    50: '#8cbdfb',
    500: '#40a2f9',
    950: '#000000',
  },
}
SCSS
$custom: #40a2f9;
$custom-light: #8cbdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2f9",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 208.216,
    "s": 93.909,
    "l": 61.373
  },
  "oklch": {
    "l": 0.69513,
    "c": 0.15683,
    "h": 249
  },
  "luminance": 0.3377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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