#4C6CBF#4C6CBF

#4C6CBF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.8% C 0.135 H 266.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4C6CBF
RGBrgb(76, 108, 191)
HSLhsl(223, 47%, 52%)
HSVhsv(223, 60%, 75%)
CMYKcmyk(60.2%, 43.5%, 0%, 25.1%)
CIE-LABlab(47.00, 14.20, -47.14)
CIE-LCHlch(47.00, 49.23, 286.76°)
OKLaboklab(54.81% -0.0089 -0.1343)
OKLCHoklch(54.81% 0.135 266.2)
XYZxyz(17.7438, 16.0217, 51.4376)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6CBF #BF9F4C
analogous
#4CA6BF #4C6CBF #654CBF
triadic
#4C6CBF #BF4C6C #6CBF4C
tetradic
#4C6CBF #BF4CA6 #BF9F4C #4CBF65
square
#4C6CBF #BF4CA6 #BF9F4C #4CBF65
split-complementary
#4C6CBF #BF654C #A6BF4C
monochromatic
#26396B #365198 #4C6CBF #7991CF #A6B6DF

Accessibility & contrast

On white

4.99
#4C6CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4C6CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6CBF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6CBF#FFFFFF#000000##FFFFFF
##4C6CBF1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#366BBD
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4c6cbf;
/* rgb */ color: rgb(76, 108, 191);
/* oklch */ color: oklch(54.8% 0.135 266.2);
Tailwind
colors: {
  custom: {
    50: '#8895d3',
    500: '#4c6cbf',
    950: '#000000',
  },
}
SCSS
$custom: #4c6cbf;
$custom-light: #8895d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6cbf",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 191
  },
  "hsl": {
    "h": 223.304,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54806,
    "c": 0.1346,
    "h": 266.2
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

primary
#4C6CBF
secondary
#CCBF9A
accent
#B251D7
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4C6CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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