#4B51DD#4B51DD

#4B51DD is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.8% C 0.209 H 274.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4B51DD
RGBrgb(75, 81, 221)
HSLhsl(238, 68%, 58%)
HSVhsv(238, 66%, 87%)
CMYKcmyk(66.1%, 63.3%, 0%, 13.3%)
CIE-LABlab(42.15, 41.13, -72.21)
CIE-LCHlch(42.15, 83.10, 299.67°)
OKLaboklab(51.81% 0.0164 -0.2083)
OKLCHoklch(51.81% 0.209 274.5)
XYZxyz(18.8909, 12.5995, 69.8290)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B51DD #DDD74B
analogous
#4B9ADD #4B51DD #8E4BDD
triadic
#4B51DD #DD4B51 #51DD4B
tetradic
#4B51DD #DD4B9A #DDD74B #4BDD8E
square
#4B51DD #DD4B9A #DDD74B #4BDD8E
split-complementary
#4B51DD #DD8E4B #9ADD4B
monochromatic
#1C2092 #252CC5 #4B51DD #7E83E7 #B2B5F0

Accessibility & contrast

On white

5.97
#4B51DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4B51DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B51DD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B51DD#FFFFFF#000000##FFFFFF
##4B51DD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#005DDA
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b51dd;
/* rgb */ color: rgb(75, 81, 221);
/* oklch */ color: oklch(51.8% 0.209 274.5);
Tailwind
colors: {
  custom: {
    50: '#8e82e9',
    500: '#4b51dd',
    950: '#000000',
  },
}
SCSS
$custom: #4b51dd;
$custom-light: #8e82e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b51dd",
  "rgb": {
    "r": 75,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 237.534,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51807,
    "c": 0.20896,
    "h": 274.5
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#4B51DD
secondary
#DFDDA5
accent
#E43DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4B51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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