#4B7ECB#4B7ECB

#4B7ECB is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.4% C 0.131 H 258.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4B7ECB
RGBrgb(75, 126, 203)
HSLhsl(216, 55%, 55%)
HSVhsv(216, 63%, 80%)
CMYKcmyk(63.1%, 37.9%, 0%, 20.4%)
CIE-LABlab(52.65, 7.03, -45.04)
CIE-LCHlch(52.65, 45.58, 278.87°)
OKLaboklab(59.37% -0.0262 -0.1279)
OKLCHoklch(59.37% 0.131 258.4)
XYZxyz(21.1382, 20.7274, 59.3751)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7ECB #CB984B
analogous
#4BBECB #4B7ECB #584BCB
triadic
#4B7ECB #CB4B7E #7ECB4B
tetradic
#4B7ECB #CB4BBE #CB984B #4BCB58
square
#4B7ECB #CB4BBE #CB984B #4BCB58
split-complementary
#4B7ECB #CB584B #BECB4B
monochromatic
#234579 #3160A8 #4B7ECB #7AA0D9 #AAC2E6

Accessibility & contrast

On white

4.08
#4B7ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4B7ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7ECB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7ECB#FFFFFF#000000##000000
##4B7ECB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CE
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4b7ecb;
/* rgb */ color: rgb(75, 126, 203);
/* oklch */ color: oklch(59.4% 0.131 258.4);
Tailwind
colors: {
  custom: {
    50: '#89a3db',
    500: '#4b7ecb',
    950: '#000000',
  },
}
SCSS
$custom: #4b7ecb;
$custom-light: #89a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7ecb",
  "rgb": {
    "r": 75,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 216.094,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59372,
    "c": 0.13059,
    "h": 258.4
  },
  "luminance": 0.20729
}

Semantic roles & 50–950 ramp

primary
#4B7ECB
secondary
#D4BE9E
accent
#A349DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0F15
muted
#7D7E83

Preview Lab

Preview with #4B7ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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