#4C7BD2#4C7BD2

#4C7BD2 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.2% C 0.143 H 261.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4C7BD2
RGBrgb(76, 123, 210)
HSLhsl(219, 60%, 56%)
HSVhsv(219, 64%, 82%)
CMYKcmyk(63.8%, 41.4%, 0%, 17.6%)
CIE-LABlab(52.23, 11.44, -49.67)
CIE-LCHlch(52.23, 50.97, 282.97°)
OKLaboklab(59.19% -0.0208 -0.1415)
OKLCHoklch(59.19% 0.143 261.6)
XYZxyz(21.6922, 20.3535, 63.7457)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BD2 #D2A34C
analogous
#4CBED2 #4C7BD2 #604CD2
triadic
#4C7BD2 #D24C7B #7BD24C
tetradic
#4C7BD2 #D24CBE #D2A34C #4CD260
square
#4C7BD2 #D24CBE #D2A34C #4CD260
split-complementary
#4C7BD2 #D2604C #BED24C
monochromatic
#214383 #2D5CB4 #4C7BD2 #7D9FDE #AEC3EB

Accessibility & contrast

On white

4.14
#4C7BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4C7BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BD2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BD2#FFFFFF#000000##000000
##4C7BD21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5383D5
Deuteranopia (green-blind)
#3F77D0
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c7bd2;
/* rgb */ color: rgb(76, 123, 210);
/* oklch */ color: oklch(59.2% 0.143 261.6);
Tailwind
colors: {
  custom: {
    50: '#8aa0e0',
    500: '#4c7bd2',
    950: '#000000',
  },
}
SCSS
$custom: #4c7bd2;
$custom-light: #8aa0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7bd2",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 218.955,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59186,
    "c": 0.14305,
    "h": 261.6
  },
  "luminance": 0.20356
}

Semantic roles & 50–950 ramp

primary
#4C7BD2
secondary
#D9C5A1
accent
#AC45E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4C7BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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