#4076DD#4076DD

#4076DD is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.3% C 0.168 H 261.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4076DD
RGBrgb(64, 118, 221)
HSLhsl(219, 70%, 56%)
HSVhsv(219, 71%, 87%)
CMYKcmyk(71%, 46.6%, 0%, 13.3%)
CIE-LABlab(51.00, 16.53, -57.90)
CIE-LCHlch(51.00, 60.21, 285.94°)
OKLaboklab(58.3% -0.0238 -0.166)
OKLCHoklch(58.3% 0.168 261.8)
XYZxyz(21.6393, 19.2650, 70.9707)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076DD #DDA740
analogous
#40C4DD #4076DD #5840DD
triadic
#4076DD #DD4076 #76DD40
tetradic
#4076DD #DD40C4 #DDA740 #40DD58
square
#4076DD #DD40C4 #DDA740 #40DD58
split-complementary
#4076DD #DD5840 #C4DD40
monochromatic
#19408A #2258BE #4076DD #749BE6 #A8C1EF

Accessibility & contrast

On white

4.33
#4076DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4076DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076DD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076DD#FFFFFF#000000##000000
##4076DD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F81E1
Deuteranopia (green-blind)
#1973DB
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4076dd;
/* rgb */ color: rgb(64, 118, 221);
/* oklch */ color: oklch(58.3% 0.168 261.8);
Tailwind
colors: {
  custom: {
    50: '#879ce8',
    500: '#4076dd',
    950: '#000000',
  },
}
SCSS
$custom: #4076dd;
$custom-light: #879ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#4076dd",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 221
  },
  "hsl": {
    "h": 219.363,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58301,
    "c": 0.16769,
    "h": 261.8
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

primary
#4076DD
secondary
#DDC79C
accent
#B03BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4076DD

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

Preview Lab → · Contrast checker → · Palette generator →

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