#4C7BE1#4C7BE1

#4C7BE1 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.1% C 0.163 H 263.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4C7BE1
RGBrgb(76, 123, 225)
HSLhsl(221, 71%, 59%)
HSVhsv(221, 66%, 88%)
CMYKcmyk(66.2%, 45.3%, 0%, 11.8%)
CIE-LABlab(53.10, 16.64, -56.75)
CIE-LCHlch(53.10, 59.14, 286.35°)
OKLaboklab(60.13% -0.0181 -0.1623)
OKLCHoklch(60.13% 0.163 263.6)
XYZxyz(23.6493, 21.1364, 74.0530)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BE1 #E1B24C
analogous
#4CC6E1 #4C7BE1 #684CE1
triadic
#4C7BE1 #E14C7B #7BE14C
tetradic
#4C7BE1 #E14CC6 #E1B24C #4CE168
square
#4C7BE1 #E14CC6 #E1B24C #4CE168
split-complementary
#4C7BE1 #E1684C #C6E14C
monochromatic
#1A4299 #2258CD #4C7BE1 #80A2EA #B5C8F3

Accessibility & contrast

On white

4.02
#4C7BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4C7BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BE1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BE1#FFFFFF#000000##000000
##4C7BE11.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4886E5
Deuteranopia (green-blind)
#2C78DF
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7be1;
/* rgb */ color: rgb(76, 123, 225);
/* oklch */ color: oklch(60.1% 0.163 263.6);
Tailwind
colors: {
  custom: {
    50: '#8da0eb',
    500: '#4c7be1',
    950: '#000000',
  },
}
SCSS
$custom: #4c7be1;
$custom-light: #8da0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7be1",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 225
  },
  "hsl": {
    "h": 221.074,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6013,
    "c": 0.16334,
    "h": 263.6
  },
  "luminance": 0.21139
}

Semantic roles & 50–950 ramp

primary
#4C7BE1
secondary
#E2CFA7
accent
#B53AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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