#4C6BDE#4C6BDE

#4C6BDE is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.7% C 0.179 H 268.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4C6BDE
RGBrgb(76, 107, 222)
HSLhsl(227, 69%, 58%)
HSVhsv(227, 66%, 87%)
CMYKcmyk(65.8%, 51.8%, 0%, 12.9%)
CIE-LABlab(48.67, 25.54, -62.19)
CIE-LCHlch(48.67, 67.23, 292.32°)
OKLaboklab(56.69% -0.0039 -0.1786)
OKLCHoklch(56.69% 0.179 268.7)
XYZxyz(21.4185, 17.3238, 71.3082)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6BDE #DEBF4C
analogous
#4CB4DE #4C6BDE #764CDE
triadic
#4C6BDE #DE4C6B #6BDE4C
tetradic
#4C6BDE #DE4CB4 #DEBF4C #4CDE76
square
#4C6BDE #DE4CB4 #DEBF4C #4CDE76
split-complementary
#4C6BDE #DE764C #B4DE4C
monochromatic
#1B3594 #2547C8 #4C6BDE #8096E8 #B3C0F1

Accessibility & contrast

On white

4.70
#4C6BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4C6BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6BDE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6BDE#FFFFFF#000000##FFFFFF
##4C6BDE1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#227BE2
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#00869A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c6bde;
/* rgb */ color: rgb(76, 107, 222);
/* oklch */ color: oklch(56.7% 0.179 268.7);
Tailwind
colors: {
  custom: {
    50: '#8d94e9',
    500: '#4c6bde',
    950: '#000000',
  },
}
SCSS
$custom: #4c6bde;
$custom-light: #8d94e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6bde",
  "rgb": {
    "r": 76,
    "g": 107,
    "b": 222
  },
  "hsl": {
    "h": 227.26,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56693,
    "c": 0.17861,
    "h": 268.7
  },
  "luminance": 0.17326
}

Semantic roles & 50–950 ramp

primary
#4C6BDE
secondary
#E0D4A6
accent
#C63CEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4C6BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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