#4B7ECA#4B7ECA

#4B7ECA is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.3% C 0.129 H 258.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4B7ECA
RGBrgb(75, 126, 202)
HSLhsl(216, 55%, 54%)
HSVhsv(216, 63%, 79%)
CMYKcmyk(62.9%, 37.6%, 0%, 20.8%)
CIE-LABlab(52.60, 6.69, -44.55)
CIE-LCHlch(52.60, 45.05, 278.54°)
OKLaboklab(59.31% -0.0264 -0.1265)
OKLCHoklch(59.31% 0.129 258.2)
XYZxyz(21.0194, 20.6799, 58.7496)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7ECA #CA974B
analogous
#4BBDCA #4B7ECA #584BCA
triadic
#4B7ECA #CA4B7E #7ECA4B
tetradic
#4B7ECA #CA4BBD #CA974B #4BCA58
square
#4B7ECA #CA4BBD #CA974B #4BCA58
split-complementary
#4B7ECA #CA584B #BDCA4B
monochromatic
#234577 #3160A7 #4B7ECA #7AA0D8 #AAC2E6

Accessibility & contrast

On white

4.09
#4B7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4B7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7ECA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7ECA#FFFFFF#000000##000000
##4B7ECA1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4b7eca;
/* rgb */ color: rgb(75, 126, 202);
/* oklch */ color: oklch(59.3% 0.129 258.2);
Tailwind
colors: {
  custom: {
    50: '#89a3da',
    500: '#4b7eca',
    950: '#000000',
  },
}
SCSS
$custom: #4b7eca;
$custom-light: #89a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7eca",
  "rgb": {
    "r": 75,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 215.906,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59314,
    "c": 0.12924,
    "h": 258.2
  },
  "luminance": 0.20682
}

Semantic roles & 50–950 ramp

primary
#4B7ECA
secondary
#D3BE9D
accent
#A24ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #4B7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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