#4651CC#4651CC

#4651CC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.188 H 273.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4651CC
RGBrgb(70, 81, 204)
HSLhsl(235, 57%, 54%)
HSVhsv(235, 66%, 80%)
CMYKcmyk(65.7%, 60.3%, 0%, 20%)
CIE-LABlab(40.48, 34.69, -65.19)
CIE-LCHlch(40.48, 73.84, 298.02°)
OKLaboklab(50.08% 0.0117 -0.1878)
OKLCHoklch(50.08% 0.188 273.6)
XYZxyz(16.3637, 11.5451, 58.4811)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4651CC #CCC146
analogous
#4694CC #4651CC #7E46CC
triadic
#4651CC #CC4651 #51CC46
tetradic
#4651CC #CC4694 #CCC146 #46CC7E
square
#4651CC #CC4694 #CCC146 #46CC7E
split-complementary
#4651CC #CC7E46 #94CC46
monochromatic
#212877 #2E38A7 #4651CC #767ED9 #A6ABE6

Accessibility & contrast

On white

6.35
#4651CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4651CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4651CC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4651CC#FFFFFF#000000##FFFFFF
##4651CC1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4651cc;
/* rgb */ color: rgb(70, 81, 204);
/* oklch */ color: oklch(50.1% 0.188 273.6);
Tailwind
colors: {
  custom: {
    50: '#8982dc',
    500: '#4651cc',
    950: '#000000',
  },
}
SCSS
$custom: #4651cc;
$custom-light: #8982dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4651cc",
  "rgb": {
    "r": 70,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 235.075,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50075,
    "c": 0.18819,
    "h": 273.6
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#4651CC
secondary
#D4CF9A
accent
#D448E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4651CC

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

Preview Lab → · Contrast checker → · Palette generator →

#4651CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva