#4076C6#4076C6

#4076C6 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 56.8% C 0.137 H 258.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4076C6
RGBrgb(64, 118, 198)
HSLhsl(216, 54%, 51%)
HSVhsv(216, 68%, 78%)
CMYKcmyk(67.7%, 40.4%, 0%, 22.4%)
CIE-LABlab(49.64, 8.28, -46.99)
CIE-LCHlch(49.64, 47.71, 280.00°)
OKLaboklab(56.82% -0.0281 -0.1339)
OKLCHoklch(56.82% 0.137 258.2)
XYZxyz(18.7822, 18.1222, 55.9232)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076C6 #C69040
analogous
#40B9C6 #4076C6 #4D40C6
triadic
#4076C6 #C64076 #76C640
tetradic
#4076C6 #C640B9 #C69040 #40C64D
square
#4076C6 #C640B9 #C69040 #40C64D
split-complementary
#4076C6 #C64D40 #B9C640
monochromatic
#203E6C #2E5A9B #4076C6 #6F98D4 #9EBAE2

Accessibility & contrast

On white

4.54
#4076C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4076C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076C6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076C6#FFFFFF#000000##000000
##4076C61.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#517DC9
Deuteranopia (green-blind)
#3D70C4
Tritanopia (blue-blind)
#008894
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4076c6;
/* rgb */ color: rgb(64, 118, 198);
/* oklch */ color: oklch(56.8% 0.137 258.2);
Tailwind
colors: {
  custom: {
    50: '#839dd8',
    500: '#4076c6',
    950: '#000000',
  },
}
SCSS
$custom: #4076c6;
$custom-light: #839dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4076c6",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 198
  },
  "hsl": {
    "h": 215.821,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.13684,
    "h": 258.2
  },
  "luminance": 0.18124
}

Semantic roles & 50–950 ramp

primary
#4076C6
secondary
#CEB793
accent
#A24ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4076C6

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

Preview Lab → · Contrast checker → · Palette generator →

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