#4652CD#4652CD

#4652CD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.188 H 273.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4652CD
RGBrgb(70, 82, 205)
HSLhsl(235, 57%, 54%)
HSVhsv(235, 66%, 80%)
CMYKcmyk(65.9%, 60%, 0%, 19.6%)
CIE-LABlab(40.80, 34.41, -65.24)
CIE-LCHlch(40.80, 73.76, 297.81°)
OKLaboklab(50.34% 0.0108 -0.188)
OKLCHoklch(50.34% 0.188 273.3)
XYZxyz(16.5589, 11.7430, 59.1398)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4652CD #CDC146
analogous
#4696CD #4652CD #7E46CD
triadic
#4652CD #CD4652 #52CD46
tetradic
#4652CD #CD4696 #CDC146 #46CD7E
square
#4652CD #CD4696 #CDC146 #46CD7E
split-complementary
#4652CD #CD7E46 #96CD46
monochromatic
#202878 #2D38A8 #4652CD #767FDA #A6ACE7

Accessibility & contrast

On white

6.27
#4652CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4652CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4652CD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4652CD#FFFFFF#000000##FFFFFF
##4652CD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4652cd;
/* rgb */ color: rgb(70, 82, 205);
/* oklch */ color: oklch(50.3% 0.188 273.3);
Tailwind
colors: {
  custom: {
    50: '#8982dd',
    500: '#4652cd',
    950: '#000000',
  },
}
SCSS
$custom: #4652cd;
$custom-light: #8982dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4652cd",
  "rgb": {
    "r": 70,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 234.667,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50337,
    "c": 0.18829,
    "h": 273.3
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#4652CD
secondary
#D4CF9B
accent
#D347E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4652CD

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

Preview Lab → · Contrast checker → · Palette generator →

#4652CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva