#4B7FEC#4B7FEC

#4B7FEC is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.6% C 0.174 H 263.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4B7FEC
RGBrgb(75, 127, 236)
HSLhsl(221, 81%, 61%)
HSVhsv(221, 68%, 93%)
CMYKcmyk(68.2%, 46.2%, 0%, 7.5%)
CIE-LABlab(54.79, 17.88, -60.19)
CIE-LCHlch(54.79, 62.79, 286.54°)
OKLaboklab(61.63% -0.0209 -0.1724)
OKLCHoklch(61.63% 0.174 263.1)
XYZxyz(25.6260, 22.7281, 82.3771)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7FEC #ECB84B
analogous
#4BD0EC #4B7FEC #674BEC
triadic
#4B7FEC #EC4B7F #7FEC4B
tetradic
#4B7FEC #EC4BD0 #ECB84B #4BEC67
square
#4B7FEC #EC4BD0 #ECB84B #4BEC67
split-complementary
#4B7FEC #EC674B #D0EC4B
monochromatic
#1243AB #1859E2 #4B7FEC #82A6F2 #BACEF8

Accessibility & contrast

On white

3.79
#4B7FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#4B7FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7FEC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7FEC#FFFFFF#000000##000000
##4B7FEC1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#247CEA
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4b7fec;
/* rgb */ color: rgb(75, 127, 236);
/* oklch */ color: oklch(61.6% 0.174 263.1);
Tailwind
colors: {
  custom: {
    50: '#8ea3f3',
    500: '#4b7fec',
    950: '#000000',
  },
}
SCSS
$custom: #4b7fec;
$custom-light: #8ea3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7fec",
  "rgb": {
    "r": 75,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 220.621,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61629,
    "c": 0.17366,
    "h": 263.1
  },
  "luminance": 0.22731
}

Semantic roles & 50–950 ramp

primary
#4B7FEC
secondary
#E8D4AB
accent
#9808DD
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4B7FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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