#4C6BCA#4C6BCA

#4C6BCA is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.3% C 0.151 H 267.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4C6BCA
RGBrgb(76, 107, 202)
HSLhsl(225, 54%, 55%)
HSVhsv(225, 62%, 79%)
CMYKcmyk(62.4%, 47%, 0%, 20.8%)
CIE-LABlab(47.38, 18.61, -52.86)
CIE-LCHlch(47.38, 56.04, 289.39°)
OKLaboklab(55.31% -0.0061 -0.1511)
OKLCHoklch(55.31% 0.151 267.7)
XYZxyz(18.8952, 16.3145, 58.0189)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6BCA #CAAB4C
analogous
#4CAACA #4C6BCA #6C4CCA
triadic
#4C6BCA #CA4C6B #6BCA4C
tetradic
#4C6BCA #CA4CAA #CAAB4C #4CCA6C
square
#4C6BCA #CA4CAA #CAAB4C #4CCA6C
split-complementary
#4C6BCA #CA6C4C #AACA4C
monochromatic
#243878 #324EA7 #4C6BCA #7B92D8 #AAB9E6

Accessibility & contrast

On white

4.93
#4C6BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4C6BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6BCA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6BCA#FFFFFF#000000##FFFFFF
##4C6BCA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CE
Deuteranopia (green-blind)
#256BC8
Tritanopia (blue-blind)
#008191
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4c6bca;
/* rgb */ color: rgb(76, 107, 202);
/* oklch */ color: oklch(55.3% 0.151 267.7);
Tailwind
colors: {
  custom: {
    50: '#8a94db',
    500: '#4c6bca',
    950: '#000000',
  },
}
SCSS
$custom: #4c6bca;
$custom-light: #8a94db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6bca",
  "rgb": {
    "r": 76,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 225.238,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55309,
    "c": 0.15124,
    "h": 267.7
  },
  "luminance": 0.16316
}

Semantic roles & 50–950 ramp

primary
#4C6BCA
secondary
#D4C69E
accent
#B94ADE
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C6BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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