#4076CF#4076CF

#4076CF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.4% C 0.149 H 259.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4076CF
RGBrgb(64, 118, 207)
HSLhsl(217, 60%, 53%)
HSVhsv(217, 69%, 81%)
CMYKcmyk(69.1%, 43%, 0%, 18.8%)
CIE-LABlab(50.16, 11.50, -51.31)
CIE-LCHlch(50.16, 52.58, 282.63°)
OKLaboklab(57.38% -0.0262 -0.1466)
OKLCHoklch(57.38% 0.149 259.9)
XYZxyz(19.8512, 18.5498, 61.5537)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076CF #CF9940
analogous
#40BDCF #4076CF #5140CF
triadic
#4076CF #CF4076 #76CF40
tetradic
#4076CF #CF40BD #CF9940 #40CF51
square
#4076CF #CF40BD #CF9940 #40CF51
split-complementary
#4076CF #CF5140 #BDCF40
monochromatic
#1E3F77 #2A5AA8 #4076CF #7199DB #A2BCE8

Accessibility & contrast

On white

4.46
#4076CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4076CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076CF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076CF#FFFFFF#000000##000000
##4076CF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED2
Deuteranopia (green-blind)
#3371CD
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4076cf;
/* rgb */ color: rgb(64, 118, 207);
/* oklch */ color: oklch(57.4% 0.149 259.9);
Tailwind
colors: {
  custom: {
    50: '#859dde',
    500: '#4076cf',
    950: '#000000',
  },
}
SCSS
$custom: #4076cf;
$custom-light: #859dde;
$custom-dark: #000000;
JSON
{
  "hex": "#4076cf",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 217.343,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57383,
    "c": 0.14895,
    "h": 259.9
  },
  "luminance": 0.18552
}

Semantic roles & 50–950 ramp

primary
#4076CF
secondary
#D4BD97
accent
#A745E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4076CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4076CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva