#4077CE#4077CE

#4077CE is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.5% C 0.146 H 259.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4077CE
RGBrgb(64, 119, 206)
HSLhsl(217, 59%, 53%)
HSVhsv(217, 69%, 81%)
CMYKcmyk(68.9%, 42.2%, 0%, 19.2%)
CIE-LABlab(50.38, 10.52, -50.38)
CIE-LCHlch(50.38, 51.47, 281.80°)
OKLaboklab(57.54% -0.0273 -0.1439)
OKLCHoklch(57.54% 0.146 259.2)
XYZxyz(19.8477, 18.7378, 60.9513)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077CE #CE9740
analogous
#40BECE #4077CE #5040CE
triadic
#4077CE #CE4077 #77CE40
tetradic
#4077CE #CE40BE #CE9740 #40CE50
square
#4077CE #CE40BE #CE9740 #40CE50
split-complementary
#4077CE #CE5040 #BECE40
monochromatic
#1E4075 #2B5AA6 #4077CE #719ADA #A1BCE7

Accessibility & contrast

On white

4.42
#4077CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4077CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4077CE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077CE#FFFFFF#000000##000000
##4077CE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD1
Deuteranopia (green-blind)
#3672CC
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4077ce;
/* rgb */ color: rgb(64, 119, 206);
/* oklch */ color: oklch(57.5% 0.146 259.2);
Tailwind
colors: {
  custom: {
    50: '#859ddd',
    500: '#4077ce',
    950: '#000000',
  },
}
SCSS
$custom: #4077ce;
$custom-light: #859ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#4077ce",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 206
  },
  "hsl": {
    "h": 216.761,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57537,
    "c": 0.14647,
    "h": 259.2
  },
  "luminance": 0.1874
}

Semantic roles & 50–950 ramp

primary
#4077CE
secondary
#D4BC96
accent
#A645E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4077CE

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

Preview Lab → · Contrast checker → · Palette generator →

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