#4751CA#4751CA

#4751CA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.185 H 274.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4751CA
RGBrgb(71, 81, 202)
HSLhsl(235, 55%, 54%)
HSVhsv(235, 65%, 79%)
CMYKcmyk(64.9%, 59.9%, 0%, 20.8%)
CIE-LABlab(40.39, 34.15, -64.18)
CIE-LCHlch(40.39, 72.70, 298.02°)
OKLaboklab(49.97% 0.0128 -0.1848)
OKLCHoklch(49.97% 0.185 274)
XYZxyz(16.1981, 11.4873, 57.2293)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751CA #CAC047
analogous
#4792CA #4751CA #7E47CA
triadic
#4751CA #CA4751 #51CA47
tetradic
#4751CA #CA4792 #CAC047 #47CA7E
square
#4751CA #CA4792 #CAC047 #47CA7E
split-complementary
#4751CA #CA7E47 #92CA47
monochromatic
#222875 #2F38A4 #4751CA #777ED8 #A6ABE5

Accessibility & contrast

On white

6.37
#4751CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4751CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751CA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751CA#FFFFFF#000000##FFFFFF
##4751CA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4751ca;
/* rgb */ color: rgb(71, 81, 202);
/* oklch */ color: oklch(50.0% 0.185 274.0);
Tailwind
colors: {
  custom: {
    50: '#8982db',
    500: '#4751ca',
    950: '#000000',
  },
}
SCSS
$custom: #4751ca;
$custom-light: #8982db;
$custom-dark: #000000;
JSON
{
  "hex": "#4751ca",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 235.42,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49973,
    "c": 0.18529,
    "h": 274
  },
  "luminance": 0.11489
}

Semantic roles & 50–950 ramp

primary
#4751CA
secondary
#D2CE9A
accent
#D349DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4751CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4751CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva