#4077D6#4077D6

#4077D6 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.0% C 0.157 H 260.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4077D6
RGBrgb(64, 119, 214)
HSLhsl(218, 65%, 55%)
HSVhsv(218, 70%, 84%)
CMYKcmyk(70.1%, 44.4%, 0%, 16.1%)
CIE-LABlab(50.85, 13.39, -54.18)
CIE-LCHlch(50.85, 55.81, 283.88°)
OKLaboklab(58.05% -0.0258 -0.155)
OKLCHoklch(58.05% 0.157 260.5)
XYZxyz(20.8444, 19.1365, 66.2005)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077D6 #D69F40
analogous
#40C2D6 #4077D6 #5440D6
triadic
#4077D6 #D64077 #77D640
tetradic
#4077D6 #D640C2 #D69F40 #40D654
square
#4077D6 #D640C2 #D69F40 #40D654
split-complementary
#4077D6 #D65440 #C2D640
monochromatic
#1B4080 #265AB2 #4077D6 #729BE1 #A5BFEC

Accessibility & contrast

On white

4.35
#4077D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4077D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4077D6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077D6#FFFFFF#000000##000000
##4077D61.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4880DA
Deuteranopia (green-blind)
#2B73D4
Tritanopia (blue-blind)
#008D9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4077d6;
/* rgb */ color: rgb(64, 119, 214);
/* oklch */ color: oklch(58.0% 0.157 260.5);
Tailwind
colors: {
  custom: {
    50: '#869de3',
    500: '#4077d6',
    950: '#000000',
  },
}
SCSS
$custom: #4077d6;
$custom-light: #869de3;
$custom-dark: #000000;
JSON
{
  "hex": "#4077d6",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 214
  },
  "hsl": {
    "h": 218,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58049,
    "c": 0.15718,
    "h": 260.5
  },
  "luminance": 0.19139
}

Semantic roles & 50–950 ramp

primary
#4077D6
secondary
#D9C199
accent
#AA40E8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #4077D6

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

Preview Lab → · Contrast checker → · Palette generator →

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