#4C7BC2#4C7BC2

#4C7BC2 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.2% C 0.121 H 258.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4C7BC2
RGBrgb(76, 123, 194)
HSLhsl(216, 49%, 53%)
HSVhsv(216, 61%, 76%)
CMYKcmyk(60.8%, 36.6%, 0%, 23.9%)
CIE-LABlab(51.38, 5.97, -41.92)
CIE-LCHlch(51.38, 42.34, 278.11°)
OKLaboklab(58.24% -0.0243 -0.1188)
OKLCHoklch(58.24% 0.121 258.4)
XYZxyz(19.7976, 19.5957, 53.7675)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BC2 #C2934C
analogous
#4CB6C2 #4C7BC2 #584CC2
triadic
#4C7BC2 #C24C7B #7BC24C
tetradic
#4C7BC2 #C24CB6 #C2934C #4CC258
square
#4C7BC2 #C24CB6 #C2934C #4CC258
split-complementary
#4C7BC2 #C2584C #B6C24C
monochromatic
#26426E #355E9C #4C7BC2 #7A9DD2 #A7BEE1

Accessibility & contrast

On white

4.27
#4C7BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4C7BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BC2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BC2#FFFFFF#000000##000000
##4C7BC21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D80C5
Deuteranopia (green-blind)
#4D75C1
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c7bc2;
/* rgb */ color: rgb(76, 123, 194);
/* oklch */ color: oklch(58.2% 0.121 258.4);
Tailwind
colors: {
  custom: {
    50: '#88a0d5',
    500: '#4c7bc2',
    950: '#000000',
  },
}
SCSS
$custom: #4c7bc2;
$custom-light: #88a0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7bc2",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 216.102,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58242,
    "c": 0.1213,
    "h": 258.4
  },
  "luminance": 0.19597
}

Semantic roles & 50–950 ramp

primary
#4C7BC2
secondary
#CEBA9B
accent
#A24FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4C7BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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