#4076C4#4076C4

#4076C4 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.7% C 0.134 H 257.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4076C4
RGBrgb(64, 118, 196)
HSLhsl(215, 53%, 51%)
HSVhsv(215, 67%, 77%)
CMYKcmyk(67.3%, 39.8%, 0%, 23.1%)
CIE-LABlab(49.53, 7.57, -46.02)
CIE-LCHlch(49.53, 46.64, 279.34°)
OKLaboklab(56.7% -0.0285 -0.1311)
OKLCHoklch(56.7% 0.134 257.7)
XYZxyz(18.5530, 18.0305, 54.7163)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076C4 #C48E40
analogous
#40B8C4 #4076C4 #4C40C4
triadic
#4076C4 #C44076 #76C440
tetradic
#4076C4 #C440B8 #C48E40 #40C44C
square
#4076C4 #C440B8 #C48E40 #40C44C
split-complementary
#4076C4 #C44C40 #B8C440
monochromatic
#203E69 #2F5A98 #4076C4 #6F98D2 #9EB9E1

Accessibility & contrast

On white

4.56
#4076C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4076C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076C4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076C4#FFFFFF#000000##000000
##4076C41.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#527CC7
Deuteranopia (green-blind)
#3E70C2
Tritanopia (blue-blind)
#008893
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4076c4;
/* rgb */ color: rgb(64, 118, 196);
/* oklch */ color: oklch(56.7% 0.134 257.7);
Tailwind
colors: {
  custom: {
    50: '#839dd6',
    500: '#4076c4',
    950: '#000000',
  },
}
SCSS
$custom: #4076c4;
$custom-light: #839dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4076c4",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 196
  },
  "hsl": {
    "h": 215.455,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56699,
    "c": 0.13415,
    "h": 257.7
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#4076C4
secondary
#CDB593
accent
#A14CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4076C4

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

Preview Lab → · Contrast checker → · Palette generator →

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