#4077CD#4077CD

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

Color values

HEX#4077CD
RGBrgb(64, 119, 205)
HSLhsl(217, 59%, 53%)
HSVhsv(217, 69%, 80%)
CMYKcmyk(68.8%, 42%, 0%, 19.6%)
CIE-LABlab(50.32, 10.16, -49.91)
CIE-LCHlch(50.32, 50.93, 281.51°)
OKLaboklab(57.47% -0.0275 -0.1425)
OKLCHoklch(57.47% 0.145 259.1)
XYZxyz(19.7267, 18.6894, 60.3136)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077CD #CD9640
analogous
#40BDCD #4077CD #5040CD
triadic
#4077CD #CD4077 #77CD40
tetradic
#4077CD #CD40BD #CD9640 #40CD50
square
#4077CD #CD40BD #CD9640 #40CD50
split-complementary
#4077CD #CD5040 #BDCD40
monochromatic
#1E4074 #2B5BA5 #4077CD #719ADA #A1BCE6

Accessibility & contrast

On white

4.43
#4077CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4077CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4077CD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077CD#FFFFFF#000000##000000
##4077CD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD0
Deuteranopia (green-blind)
#3772CB
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4077cd;
/* rgb */ color: rgb(64, 119, 205);
/* oklch */ color: oklch(57.5% 0.145 259.1);
Tailwind
colors: {
  custom: {
    50: '#849ddd',
    500: '#4077cd',
    950: '#000000',
  },
}
SCSS
$custom: #4077cd;
$custom-light: #849ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#4077cd",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 216.596,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57474,
    "c": 0.14512,
    "h": 259.1
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#4077CD
secondary
#D3BB96
accent
#A546E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4077CD

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

Preview Lab → · Contrast checker → · Palette generator →

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