#4077DD#4077DD

#4077DD is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.5% C 0.167 H 261.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4077DD
RGBrgb(64, 119, 221)
HSLhsl(219, 70%, 56%)
HSVhsv(219, 71%, 87%)
CMYKcmyk(71%, 46.2%, 0%, 13.3%)
CIE-LABlab(51.27, 15.91, -57.46)
CIE-LCHlch(51.27, 59.62, 285.48°)
OKLaboklab(58.51% -0.0247 -0.1647)
OKLCHoklch(58.51% 0.167 261.5)
XYZxyz(21.7577, 19.5018, 71.0101)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077DD #DDA640
analogous
#40C5DD #4077DD #5740DD
triadic
#4077DD #DD4077 #77DD40
tetradic
#4077DD #DD40C5 #DDA640 #40DD57
square
#4077DD #DD40C5 #DDA640 #40DD57
split-complementary
#4077DD #DD5740 #C5DD40
monochromatic
#19408A #2259BE #4077DD #749CE6 #A8C1EF

Accessibility & contrast

On white

4.29
#4077DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4077DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4077DD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077DD#FFFFFF#000000##000000
##4077DD1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E1
Deuteranopia (green-blind)
#1E73DB
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4077dd;
/* rgb */ color: rgb(64, 119, 221);
/* oklch */ color: oklch(58.5% 0.167 261.5);
Tailwind
colors: {
  custom: {
    50: '#879de8',
    500: '#4077dd',
    950: '#000000',
  },
}
SCSS
$custom: #4077dd;
$custom-light: #879de8;
$custom-dark: #000000;
JSON
{
  "hex": "#4077dd",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 218.981,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.16653,
    "h": 261.5
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

primary
#4077DD
secondary
#DDC69C
accent
#AE3BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4077DD

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

Preview Lab → · Contrast checker → · Palette generator →

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