#4C6FE4#4C6FE4

#4C6FE4 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.9% C 0.182 H 267.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4C6FE4
RGBrgb(76, 111, 228)
HSLhsl(226, 74%, 60%)
HSVhsv(226, 67%, 89%)
CMYKcmyk(66.7%, 51.3%, 0%, 10.6%)
CIE-LABlab(50.10, 25.13, -63.26)
CIE-LCHlch(50.10, 68.06, 291.66°)
OKLaboklab(57.91% -0.0069 -0.1816)
OKLCHoklch(57.91% 0.182 267.8)
XYZxyz(22.6637, 18.5046, 75.7611)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6FE4 #E4C14C
analogous
#4CBBE4 #4C6FE4 #754CE4
triadic
#4C6FE4 #E44C6F #6FE44C
tetradic
#4C6FE4 #E44CBB #E4C14C #4CE475
square
#4C6FE4 #E44CBB #E4C14C #4CE475
split-complementary
#4C6FE4 #E4754C #BBE44C
monochromatic
#18379E #2049D3 #4C6FE4 #819AEC #B6C5F4

Accessibility & contrast

On white

4.47
#4C6FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4C6FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C6FE4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6FE4#FFFFFF#000000##000000
##4C6FE41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#267EE8
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c6fe4;
/* rgb */ color: rgb(76, 111, 228);
/* oklch */ color: oklch(57.9% 0.182 267.8);
Tailwind
colors: {
  custom: {
    50: '#8e97ed',
    500: '#4c6fe4',
    950: '#000000',
  },
}
SCSS
$custom: #4c6fe4;
$custom-light: #8e97ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6fe4",
  "rgb": {
    "r": 76,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 226.184,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57907,
    "c": 0.18178,
    "h": 267.8
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#4C6FE4
secondary
#E3D6A8
accent
#C637F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4C6FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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