---
title: "#0040FF Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #0040FF — RGB(0, 64, 255), HSL(225, 100%, 50%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/0040ff
---
Custom color

# #0040FF

#

Add to Chrome →

Reference

## Color values

Every format for this color — click any value to copy it.

Hue

225°

Sat

100%

Light

50%

Shades & tints

CSS variables

CSS

```
/* #0040FF */
:root {
  --color--0040ff: #0040FF;
  --color--0040ff-rgb: 0, 64, 255;
  --color--0040ff-hsl: 225, 100%, 50%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#0040FF

#FFBF00

Analogous

#00BFFF

#0040FF

#4000FF

Triadic

#0040FF

#FF0040

#40FF00

Split complementary

#0040FF

#FF4000

#BFFF00

WCAG contrast

Aa

The quick brown fox.

6.61

White on this color

✓ AA

✓ AA Large

✕ AAA

Aa

3.18

Black on this color

✕ AA

✓ AA Large

✕ AAA

## Similar colors

12 colors

Blue Ribbon

#0066FF

International Klein Blue

#002FA7

Resolution Blue

#002387

Blue

#0000FF

Smalt

#003399

Azure Radiance

#007FFF

Royal Blue

#4169E1

Cobalt

#0047AB

Dodger Blue

#1E90FF

Torea Bay

#0F2D9E

Science Blue

#0066CC

Dark Blue

#0000C8

Free to install

## Pick this color from any page. Use SuperDev Pro’s eyedropper, contrast checker and 50+ dev tools right inside your browser.

Add to Chrome

Browse all colors

Free to install · No account · Works on Chrome & Firefox
