#4C7FE9#4C7FE9

#4C7FE9 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.169 H 263.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4C7FE9
RGBrgb(76, 127, 233)
HSLhsl(221, 78%, 61%)
HSVhsv(221, 67%, 91%)
CMYKcmyk(67.4%, 45.5%, 0%, 8.6%)
CIE-LABlab(54.65, 16.98, -58.73)
CIE-LCHlch(54.65, 61.14, 286.12°)
OKLaboklab(61.48% -0.0205 -0.1681)
OKLCHoklch(61.48% 0.169 263)
XYZxyz(25.2727, 22.5959, 80.1046)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FE9 #E9B64C
analogous
#4CCDE9 #4C7FE9 #684CE9
triadic
#4C7FE9 #E94C7F #7FE94C
tetradic
#4C7FE9 #E94CCD #E9B64C #4CE968
square
#4C7FE9 #E94CCD #E9B64C #4CE968
split-complementary
#4C7FE9 #E9684C #CDE94C
monochromatic
#1444A6 #1B5ADD #4C7FE9 #83A6F0 #B9CDF6

Accessibility & contrast

On white

3.80
#4C7FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4C7FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FE9
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FE9#FFFFFF#000000##000000
##4C7FE91.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#498AED
Deuteranopia (green-blind)
#2A7CE7
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4c7fe9;
/* rgb */ color: rgb(76, 127, 233);
/* oklch */ color: oklch(61.5% 0.169 263.0);
Tailwind
colors: {
  custom: {
    50: '#8ea3f1',
    500: '#4c7fe9',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fe9;
$custom-light: #8ea3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fe9",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 233
  },
  "hsl": {
    "h": 220.51,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61477,
    "c": 0.16936,
    "h": 263
  },
  "luminance": 0.22598
}

Semantic roles & 50–950 ramp

primary
#4C7FE9
secondary
#E6D3AB
accent
#970BDA
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4C7FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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