#4C7FDA#4C7FDA

#4C7FDA is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.5% C 0.149 H 261.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4C7FDA
RGBrgb(76, 127, 218)
HSLhsl(218, 66%, 58%)
HSVhsv(218, 65%, 85%)
CMYKcmyk(65.1%, 41.7%, 0%, 14.5%)
CIE-LABlab(53.79, 11.76, -51.71)
CIE-LCHlch(53.79, 53.03, 282.81°)
OKLaboklab(60.53% -0.0232 -0.1475)
OKLCHoklch(60.53% 0.149 261.1)
XYZxyz(23.2203, 21.7750, 69.2954)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FDA #DAA74C
analogous
#4CC6DA #4C7FDA #604CDA
triadic
#4C7FDA #DA4C7F #7FDA4C
tetradic
#4C7FDA #DA4CC6 #DAA74C #4CDA60
square
#4C7FDA #DA4CC6 #DAA74C #4CDA60
split-complementary
#4C7FDA #DA604C #C6DA4C
monochromatic
#1D468E #285FC1 #4C7FDA #7FA3E4 #B1C8EF

Accessibility & contrast

On white

3.92
#4C7FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4C7FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FDA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FDA#FFFFFF#000000##000000
##4C7FDA1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DE
Deuteranopia (green-blind)
#3F7AD8
Tritanopia (blue-blind)
#0094A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c7fda;
/* rgb */ color: rgb(76, 127, 218);
/* oklch */ color: oklch(60.5% 0.149 261.1);
Tailwind
colors: {
  custom: {
    50: '#8ca3e6',
    500: '#4c7fda',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fda;
$custom-light: #8ca3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fda",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 218.451,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6053,
    "c": 0.14928,
    "h": 261.1
  },
  "luminance": 0.21777
}

Semantic roles & 50–950 ramp

primary
#4C7FDA
secondary
#DDC9A4
accent
#AC3FE9
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C7FDA

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

Preview Lab → · Contrast checker → · Palette generator →

#4C7FDA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva