#4B51DA#4B51DA

#4B51DA is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.6% C 0.205 H 274.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4B51DA
RGBrgb(75, 81, 218)
HSLhsl(237, 66%, 57%)
HSVhsv(237, 66%, 85%)
CMYKcmyk(65.6%, 62.8%, 0%, 14.5%)
CIE-LABlab(41.91, 40.13, -70.90)
CIE-LCHlch(41.91, 81.47, 299.51°)
OKLaboklab(51.55% 0.0166 -0.2045)
OKLCHoklch(51.55% 0.205 274.6)
XYZxyz(18.4948, 12.4410, 67.7428)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B51DA #DAD44B
analogous
#4B98DA #4B51DA #8D4BDA
triadic
#4B51DA #DA4B51 #51DA4B
tetradic
#4B51DA #DA4B98 #DAD44B #4BDA8D
square
#4B51DA #DA4B98 #DAD44B #4BDA8D
split-complementary
#4B51DA #DA8D4B #98DA4B
monochromatic
#1D228E #282EC0 #4B51DA #7E82E4 #B1B3EF

Accessibility & contrast

On white

6.02
#4B51DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4B51DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B51DA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B51DA#FFFFFF#000000##FFFFFF
##4B51DA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b51da;
/* rgb */ color: rgb(75, 81, 218);
/* oklch */ color: oklch(51.6% 0.205 274.6);
Tailwind
colors: {
  custom: {
    50: '#8e82e6',
    500: '#4b51da',
    950: '#000000',
  },
}
SCSS
$custom: #4b51da;
$custom-light: #8e82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b51da",
  "rgb": {
    "r": 75,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 237.483,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51552,
    "c": 0.20513,
    "h": 274.6
  },
  "luminance": 0.12443
}

Semantic roles & 50–950 ramp

primary
#4B51DA
secondary
#DDDBA4
accent
#E23FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4B51DA

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

Preview Lab → · Contrast checker → · Palette generator →

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