#4B7CDF#4B7CDF

#4B7CDF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.2% C 0.160 H 262.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4B7CDF
RGBrgb(75, 124, 223)
HSLhsl(220, 70%, 58%)
HSVhsv(220, 66%, 87%)
CMYKcmyk(66.4%, 44.4%, 0%, 12.5%)
CIE-LABlab(53.21, 15.17, -55.45)
CIE-LCHlch(53.21, 57.49, 285.30°)
OKLaboklab(60.16% -0.0202 -0.1585)
OKLCHoklch(60.16% 0.16 262.7)
XYZxyz(23.4239, 21.2366, 72.6624)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7CDF #DFAE4B
analogous
#4BC6DF #4B7CDF #644BDF
triadic
#4B7CDF #DF4B7C #7CDF4B
tetradic
#4B7CDF #DF4BC6 #DFAE4B #4BDF64
square
#4B7CDF #DF4BC6 #DFAE4B #4BDF64
split-complementary
#4B7CDF #DF644B #C6DF4B
monochromatic
#1B4395 #245AC9 #4B7CDF #7FA2E8 #B3C8F1

Accessibility & contrast

On white

4.00
#4B7CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4B7CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7CDF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7CDF#FFFFFF#000000##000000
##4B7CDF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C86E3
Deuteranopia (green-blind)
#3179DD
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4b7cdf;
/* rgb */ color: rgb(75, 124, 223);
/* oklch */ color: oklch(60.2% 0.160 262.7);
Tailwind
colors: {
  custom: {
    50: '#8ca1e9',
    500: '#4b7cdf',
    950: '#000000',
  },
}
SCSS
$custom: #4b7cdf;
$custom-light: #8ca1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7cdf",
  "rgb": {
    "r": 75,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 220.135,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60164,
    "c": 0.1598,
    "h": 262.7
  },
  "luminance": 0.21239
}

Semantic roles & 50–950 ramp

primary
#4B7CDF
secondary
#E0CDA6
accent
#B23BED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4B7CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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