#4B7BCA#4B7BCA

#4B7BCA is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.7% C 0.133 H 259.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4B7BCA
RGBrgb(75, 123, 202)
HSLhsl(217, 55%, 54%)
HSVhsv(217, 63%, 79%)
CMYKcmyk(62.9%, 39.1%, 0%, 20.8%)
CIE-LABlab(51.75, 8.51, -45.89)
CIE-LCHlch(51.75, 46.67, 280.51°)
OKLaboklab(58.66% -0.0233 -0.1305)
OKLCHoklch(58.66% 0.133 259.9)
XYZxyz(20.6415, 19.9241, 58.6236)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7BCA #CA9A4B
analogous
#4BBACA #4B7BCA #5B4BCA
triadic
#4B7BCA #CA4B7B #7BCA4B
tetradic
#4B7BCA #CA4BBA #CA9A4B #4BCA5B
square
#4B7BCA #CA4BBA #CA9A4B #4BCA5B
split-complementary
#4B7BCA #CA5B4B #BACA4B
monochromatic
#234377 #315EA7 #4B7BCA #7A9ED8 #AAC0E6

Accessibility & contrast

On white

4.21
#4B7BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4B7BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7BCA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7BCA#FFFFFF#000000##000000
##4B7BCA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CD
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4b7bca;
/* rgb */ color: rgb(75, 123, 202);
/* oklch */ color: oklch(58.7% 0.133 259.9);
Tailwind
colors: {
  custom: {
    50: '#89a0da',
    500: '#4b7bca',
    950: '#000000',
  },
}
SCSS
$custom: #4b7bca;
$custom-light: #89a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7bca",
  "rgb": {
    "r": 75,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 217.323,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58657,
    "c": 0.13255,
    "h": 259.9
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#4B7BCA
secondary
#D3BF9D
accent
#A64ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4B7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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