#4C7BE3#4C7BE3

#4C7BE3 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.166 H 263.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4C7BE3
RGBrgb(76, 123, 227)
HSLhsl(221, 73%, 59%)
HSVhsv(221, 67%, 89%)
CMYKcmyk(66.5%, 45.8%, 0%, 11%)
CIE-LABlab(53.22, 17.34, -57.68)
CIE-LCHlch(53.22, 60.23, 286.73°)
OKLaboklab(60.26% -0.0178 -0.1651)
OKLCHoklch(60.26% 0.166 263.8)
XYZxyz(23.9237, 21.2461, 75.4983)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BE3 #E3B44C
analogous
#4CC6E3 #4C7BE3 #694CE3
triadic
#4C7BE3 #E34C7B #7BE34C
tetradic
#4C7BE3 #E34CC6 #E3B44C #4CE369
square
#4C7BE3 #E34CC6 #E3B44C #4CE369
split-complementary
#4C7BE3 #E3694C #C6E34C
monochromatic
#18419C #2158D1 #4C7BE3 #81A2EB #B6C9F4

Accessibility & contrast

On white

4.00
#4C7BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4C7BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BE3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BE3#FFFFFF#000000##000000
##4C7BE31.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4686E7
Deuteranopia (green-blind)
#2979E1
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7be3;
/* rgb */ color: rgb(76, 123, 227);
/* oklch */ color: oklch(60.3% 0.166 263.8);
Tailwind
colors: {
  custom: {
    50: '#8da0ec',
    500: '#4c7be3',
    950: '#000000',
  },
}
SCSS
$custom: #4c7be3;
$custom-light: #8da0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7be3",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 227
  },
  "hsl": {
    "h": 221.325,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6026,
    "c": 0.16603,
    "h": 263.8
  },
  "luminance": 0.21248
}

Semantic roles & 50–950 ramp

primary
#4C7BE3
secondary
#E3D1A8
accent
#B738F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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