#4B7CCC#4B7CCC

#4B7CCC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.0% C 0.134 H 259.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4B7CCC
RGBrgb(75, 124, 204)
HSLhsl(217, 56%, 55%)
HSVhsv(217, 63%, 80%)
CMYKcmyk(63.2%, 39.2%, 0%, 20%)
CIE-LABlab(52.14, 8.59, -46.41)
CIE-LCHlch(52.14, 47.20, 280.48°)
OKLaboklab(58.99% -0.0239 -0.132)
OKLCHoklch(58.99% 0.134 259.7)
XYZxyz(21.0045, 20.2688, 59.9204)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7CCC #CC9B4B
analogous
#4BBDCC #4B7CCC #5A4BCC
triadic
#4B7CCC #CC4B7C #7CCC4B
tetradic
#4B7CCC #CC4BBD #CC9B4B #4BCC5A
square
#4B7CCC #CC4BBD #CC9B4B #4BCC5A
split-complementary
#4B7CCC #CC5A4B #BDCC4B
monochromatic
#23447A #305EAA #4B7CCC #7B9FDA #AAC1E7

Accessibility & contrast

On white

4.15
#4B7CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4B7CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7CCC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7CCC#FFFFFF#000000##000000
##4B7CCC1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CF
Deuteranopia (green-blind)
#4677CA
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4b7ccc;
/* rgb */ color: rgb(75, 124, 204);
/* oklch */ color: oklch(59.0% 0.134 259.7);
Tailwind
colors: {
  custom: {
    50: '#89a1dc',
    500: '#4b7ccc',
    950: '#000000',
  },
}
SCSS
$custom: #4b7ccc;
$custom-light: #89a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7ccc",
  "rgb": {
    "r": 75,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 217.209,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58993,
    "c": 0.13414,
    "h": 259.7
  },
  "luminance": 0.20271
}

Semantic roles & 50–950 ramp

primary
#4B7CCC
secondary
#D5C09E
accent
#A649DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4B7CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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