#4B51CA#4B51CA

#4B51CA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.184 H 275.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4B51CA
RGBrgb(75, 81, 202)
HSLhsl(237, 55%, 54%)
HSVhsv(237, 63%, 79%)
CMYKcmyk(62.9%, 59.9%, 0%, 20.8%)
CIE-LABlab(40.64, 34.78, -63.76)
CIE-LCHlch(40.64, 72.62, 298.61°)
OKLaboklab(50.23% 0.0173 -0.1835)
OKLCHoklch(50.23% 0.184 275.4)
XYZxyz(16.5013, 11.6436, 57.2435)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B51CA #CAC44B
analogous
#4B91CA #4B51CA #854BCA
triadic
#4B51CA #CA4B51 #51CA4B
tetradic
#4B51CA #CA4B91 #CAC44B #4BCA85
square
#4B51CA #CA4B91 #CAC44B #4BCA85
split-complementary
#4B51CA #CA854B #91CA4B
monochromatic
#232777 #3137A7 #4B51CA #7A7FD8 #AAACE6

Accessibility & contrast

On white

6.31
#4B51CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4B51CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B51CA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B51CA#FFFFFF#000000##FFFFFF
##4B51CA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4b51ca;
/* rgb */ color: rgb(75, 81, 202);
/* oklch */ color: oklch(50.2% 0.184 275.4);
Tailwind
colors: {
  custom: {
    50: '#8b82db',
    500: '#4b51ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b51ca;
$custom-light: #8b82db;
$custom-dark: #000000;
JSON
{
  "hex": "#4b51ca",
  "rgb": {
    "r": 75,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 237.165,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50228,
    "c": 0.1843,
    "h": 275.4
  },
  "luminance": 0.11645
}

Semantic roles & 50–950 ramp

primary
#4B51CA
secondary
#D3D19D
accent
#D74ADE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4B51CA

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

Preview Lab → · Contrast checker → · Palette generator →

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