#4651CF#4651CF

#4651CF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.192 H 273.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4651CF
RGBrgb(70, 81, 207)
HSLhsl(235, 59%, 54%)
HSVhsv(235, 66%, 81%)
CMYKcmyk(66.2%, 60.9%, 0%, 18.8%)
CIE-LABlab(40.72, 35.72, -66.53)
CIE-LCHlch(40.72, 75.51, 298.23°)
OKLaboklab(50.32% 0.0116 -0.1918)
OKLCHoklch(50.32% 0.192 273.5)
XYZxyz(16.7270, 11.6904, 60.3944)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4651CF #CFC446
analogous
#4696CF #4651CF #7F46CF
triadic
#4651CF #CF4651 #51CF46
tetradic
#4651CF #CF4696 #CFC446 #46CF7F
square
#4651CF #CF4696 #CFC446 #46CF7F
split-complementary
#4651CF #CF7F46 #96CF46
monochromatic
#20277B #2C37AB #4651CF #777FDC #A7ACE8

Accessibility & contrast

On white

6.29
#4651CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4651CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4651CF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4651CF#FFFFFF#000000##FFFFFF
##4651CF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005ACD
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4651cf;
/* rgb */ color: rgb(70, 81, 207);
/* oklch */ color: oklch(50.3% 0.192 273.5);
Tailwind
colors: {
  custom: {
    50: '#8982df',
    500: '#4651cf',
    950: '#000000',
  },
}
SCSS
$custom: #4651cf;
$custom-light: #8982df;
$custom-dark: #000000;
JSON
{
  "hex": "#4651cf",
  "rgb": {
    "r": 70,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 235.182,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50323,
    "c": 0.19213,
    "h": 273.5
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#4651CF
secondary
#D5D19B
accent
#D546E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4651CF

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

Preview Lab → · Contrast checker → · Palette generator →

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