#4B7DCC#4B7DCC

#4B7DCC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.133 H 259.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4B7DCC
RGBrgb(75, 125, 204)
HSLhsl(217, 56%, 55%)
HSVhsv(217, 63%, 80%)
CMYKcmyk(63.2%, 38.7%, 0%, 20%)
CIE-LABlab(52.42, 7.98, -45.97)
CIE-LCHlch(52.42, 46.65, 279.85°)
OKLaboklab(59.21% -0.0249 -0.1307)
OKLCHoklch(59.21% 0.133 259.2)
XYZxyz(21.1305, 20.5207, 59.9624)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7DCC #CC9A4B
analogous
#4BBECC #4B7DCC #5A4BCC
triadic
#4B7DCC #CC4B7D #7DCC4B
tetradic
#4B7DCC #CC4BBE #CC9A4B #4BCC5A
square
#4B7DCC #CC4BBE #CC9A4B #4BCC5A
split-complementary
#4B7DCC #CC5A4B #BECC4B
monochromatic
#23447A #305FAA #4B7DCC #7B9FDA #AAC2E7

Accessibility & contrast

On white

4.11
#4B7DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4B7DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7DCC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7DCC#FFFFFF#000000##000000
##4B7DCC1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84CF
Deuteranopia (green-blind)
#4878CA
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4b7dcc;
/* rgb */ color: rgb(75, 125, 204);
/* oklch */ color: oklch(59.2% 0.133 259.2);
Tailwind
colors: {
  custom: {
    50: '#89a2dc',
    500: '#4b7dcc',
    950: '#000000',
  },
}
SCSS
$custom: #4b7dcc;
$custom-light: #89a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7dcc",
  "rgb": {
    "r": 75,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 216.744,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59211,
    "c": 0.13303,
    "h": 259.2
  },
  "luminance": 0.20523
}

Semantic roles & 50–950 ramp

primary
#4B7DCC
secondary
#D5C09E
accent
#A549DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0F15
muted
#7D7E83

Preview Lab

Preview with #4B7DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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