#4B7BEC#4B7BEC

#4B7BEC is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.8% C 0.178 H 264.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4B7BEC
RGBrgb(75, 123, 236)
HSLhsl(222, 81%, 61%)
HSVhsv(222, 68%, 93%)
CMYKcmyk(68.2%, 47.9%, 0%, 7.5%)
CIE-LABlab(53.72, 20.34, -61.90)
CIE-LCHlch(53.72, 65.16, 288.19°)
OKLaboklab(60.81% -0.0174 -0.1775)
OKLCHoklch(60.81% 0.178 264.4)
XYZxyz(25.1196, 21.7154, 82.2083)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7BEC #ECBC4B
analogous
#4BCBEC #4B7BEC #6B4BEC
triadic
#4B7BEC #EC4B7B #7BEC4B
tetradic
#4B7BEC #EC4BCB #ECBC4B #4BEC6B
square
#4B7BEC #EC4BCB #ECBC4B #4BEC6B
split-complementary
#4B7BEC #EC6B4B #CBEC4B
monochromatic
#123FAB #1854E2 #4B7BEC #82A4F2 #BACCF8

Accessibility & contrast

On white

3.93
#4B7BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4B7BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7BEC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7BEC#FFFFFF#000000##000000
##4B7BEC1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88F0
Deuteranopia (green-blind)
#1079EA
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4b7bec;
/* rgb */ color: rgb(75, 123, 236);
/* oklch */ color: oklch(60.8% 0.178 264.4);
Tailwind
colors: {
  custom: {
    50: '#8fa0f3',
    500: '#4b7bec',
    950: '#000000',
  },
}
SCSS
$custom: #4b7bec;
$custom-light: #8fa0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7bec",
  "rgb": {
    "r": 75,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 222.112,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60812,
    "c": 0.17836,
    "h": 264.4
  },
  "luminance": 0.21718
}

Semantic roles & 50–950 ramp

primary
#4B7BEC
secondary
#E8D6AB
accent
#9E08DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4B7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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