#4B7CEC#4B7CEC

#4B7CEC is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.0% C 0.177 H 264.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4B7CEC
RGBrgb(75, 124, 236)
HSLhsl(222, 81%, 61%)
HSVhsv(222, 68%, 93%)
CMYKcmyk(68.2%, 47.5%, 0%, 7.5%)
CIE-LABlab(53.99, 19.72, -61.48)
CIE-LCHlch(53.99, 64.56, 287.79°)
OKLaboklab(61.02% -0.0182 -0.1762)
OKLCHoklch(61.02% 0.177 264.1)
XYZxyz(25.2443, 21.9647, 82.2498)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7CEC #ECBB4B
analogous
#4BCDEC #4B7CEC #6A4BEC
triadic
#4B7CEC #EC4B7C #7CEC4B
tetradic
#4B7CEC #EC4BCD #ECBB4B #4BEC6A
square
#4B7CEC #EC4BCD #ECBB4B #4BEC6A
split-complementary
#4B7CEC #EC6A4B #CDEC4B
monochromatic
#1240AB #1855E2 #4B7CEC #82A4F2 #BACDF8

Accessibility & contrast

On white

3.89
#4B7CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4B7CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7CEC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7CEC#FFFFFF#000000##000000
##4B7CEC1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089F0
Deuteranopia (green-blind)
#167AEA
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4b7cec;
/* rgb */ color: rgb(75, 124, 236);
/* oklch */ color: oklch(61.0% 0.177 264.1);
Tailwind
colors: {
  custom: {
    50: '#8ea1f3',
    500: '#4b7cec',
    950: '#000000',
  },
}
SCSS
$custom: #4b7cec;
$custom-light: #8ea1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7cec",
  "rgb": {
    "r": 75,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 221.739,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61015,
    "c": 0.17718,
    "h": 264.1
  },
  "luminance": 0.21967
}

Semantic roles & 50–950 ramp

primary
#4B7CEC
secondary
#E8D5AB
accent
#9C08DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4B7CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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