#4B7ACC#4B7ACC

#4B7ACC is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.6% C 0.136 H 260.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4B7ACC
RGBrgb(75, 122, 204)
HSLhsl(218, 56%, 55%)
HSVhsv(218, 63%, 80%)
CMYKcmyk(63.2%, 40.2%, 0%, 20%)
CIE-LABlab(51.58, 9.81, -47.30)
CIE-LCHlch(51.58, 48.31, 281.71°)
OKLaboklab(58.56% -0.0219 -0.1346)
OKLCHoklch(58.56% 0.136 260.8)
XYZxyz(20.7564, 19.7726, 59.8377)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7ACC #CC9D4B
analogous
#4BBACC #4B7ACC #5D4BCC
triadic
#4B7ACC #CC4B7A #7ACC4B
tetradic
#4B7ACC #CC4BBA #CC9D4B #4BCC5D
square
#4B7ACC #CC4BBA #CC9D4B #4BCC5D
split-complementary
#4B7ACC #CC5D4B #BACC4B
monochromatic
#23427A #305CAA #4B7ACC #7B9DDA #AAC0E7

Accessibility & contrast

On white

4.24
#4B7ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4B7ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7ACC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7ACC#FFFFFF#000000##000000
##4B7ACC1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CF
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4b7acc;
/* rgb */ color: rgb(75, 122, 204);
/* oklch */ color: oklch(58.6% 0.136 260.8);
Tailwind
colors: {
  custom: {
    50: '#89a0dc',
    500: '#4b7acc',
    950: '#000000',
  },
}
SCSS
$custom: #4b7acc;
$custom-light: #89a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7acc",
  "rgb": {
    "r": 75,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 218.14,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58559,
    "c": 0.13639,
    "h": 260.8
  },
  "luminance": 0.19775
}

Semantic roles & 50–950 ramp

primary
#4B7ACC
secondary
#D5C19E
accent
#A849DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4B7ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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