#4076CD#4076CD

#4076CD is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.3% C 0.146 H 259.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4076CD
RGBrgb(64, 118, 205)
HSLhsl(217, 59%, 53%)
HSVhsv(217, 69%, 80%)
CMYKcmyk(68.8%, 42.4%, 0%, 19.6%)
CIE-LABlab(50.04, 10.78, -50.35)
CIE-LCHlch(50.04, 51.50, 282.09°)
OKLaboklab(57.26% -0.0266 -0.1438)
OKLCHoklch(57.26% 0.146 259.5)
XYZxyz(19.6083, 18.4526, 60.2741)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076CD #CD9740
analogous
#40BDCD #4076CD #5040CD
triadic
#4076CD #CD4076 #76CD40
tetradic
#4076CD #CD40BD #CD9740 #40CD50
square
#4076CD #CD40BD #CD9740 #40CD50
split-complementary
#4076CD #CD5040 #BDCD40
monochromatic
#1E3F74 #2B5AA5 #4076CD #7199DA #A1BCE6

Accessibility & contrast

On white

4.48
#4076CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4076CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076CD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076CD#FFFFFF#000000##000000
##4076CD1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED0
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4076cd;
/* rgb */ color: rgb(64, 118, 205);
/* oklch */ color: oklch(57.3% 0.146 259.5);
Tailwind
colors: {
  custom: {
    50: '#849ddd',
    500: '#4076cd',
    950: '#000000',
  },
}
SCSS
$custom: #4076cd;
$custom-light: #849ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#4076cd",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 217.021,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57257,
    "c": 0.14626,
    "h": 259.5
  },
  "luminance": 0.18455
}

Semantic roles & 50–950 ramp

primary
#4076CD
secondary
#D3BC96
accent
#A646E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4076CD

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

Preview Lab → · Contrast checker → · Palette generator →

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