#4B7FCA#4B7FCA

#4B7FCA is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.5% C 0.128 H 257.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4B7FCA
RGBrgb(75, 127, 202)
HSLhsl(215, 55%, 54%)
HSVhsv(215, 63%, 79%)
CMYKcmyk(62.9%, 37.1%, 0%, 20.8%)
CIE-LABlab(52.88, 6.08, -44.10)
CIE-LCHlch(52.88, 44.52, 277.85°)
OKLaboklab(59.53% -0.0275 -0.1252)
OKLCHoklch(59.53% 0.128 257.6)
XYZxyz(21.1479, 20.9369, 58.7924)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7FCA #CA964B
analogous
#4BBFCA #4B7FCA #574BCA
triadic
#4B7FCA #CA4B7F #7FCA4B
tetradic
#4B7FCA #CA4BBF #CA964B #4BCA57
square
#4B7FCA #CA4BBF #CA964B #4BCA57
split-complementary
#4B7FCA #CA574B #BFCA4B
monochromatic
#234677 #3161A7 #4B7FCA #7AA1D8 #AAC2E6

Accessibility & contrast

On white

4.05
#4B7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4B7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7FCA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7FCA#FFFFFF#000000##000000
##4B7FCA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b7fca;
/* rgb */ color: rgb(75, 127, 202);
/* oklch */ color: oklch(59.5% 0.128 257.6);
Tailwind
colors: {
  custom: {
    50: '#89a3da',
    500: '#4b7fca',
    950: '#000000',
  },
}
SCSS
$custom: #4b7fca;
$custom-light: #89a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7fca",
  "rgb": {
    "r": 75,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 215.433,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59534,
    "c": 0.12817,
    "h": 257.6
  },
  "luminance": 0.20939
}

Semantic roles & 50–950 ramp

primary
#4B7FCA
secondary
#D3BD9D
accent
#A14ADE
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4B7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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