#4652CB#4652CB

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

Color values

HEX#4652CB
RGBrgb(70, 82, 203)
HSLhsl(235, 56%, 54%)
HSVhsv(235, 66%, 80%)
CMYKcmyk(65.5%, 59.6%, 0%, 20.4%)
CIE-LABlab(40.65, 33.72, -64.34)
CIE-LCHlch(40.65, 72.64, 297.66°)
OKLaboklab(50.17% 0.0109 -0.1853)
OKLCHoklch(50.17% 0.186 273.4)
XYZxyz(16.3190, 11.6470, 57.8764)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4652CB #CBBF46
analogous
#4695CB #4652CB #7C46CB
triadic
#4652CB #CB4652 #52CB46
tetradic
#4652CB #CB4695 #CBBF46 #46CB7C
square
#4652CB #CB4695 #CBBF46 #46CB7C
split-complementary
#4652CB #CB7C46 #95CB46
monochromatic
#212976 #2E39A5 #4652CB #767FD8 #A6ABE6

Accessibility & contrast

On white

6.31
#4652CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4652CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4652CB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4652CB#FFFFFF#000000##FFFFFF
##4652CB1.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)
#0066CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4652cb;
/* rgb */ color: rgb(70, 82, 203);
/* oklch */ color: oklch(50.2% 0.186 273.4);
Tailwind
colors: {
  custom: {
    50: '#8882dc',
    500: '#4652cb',
    950: '#000000',
  },
}
SCSS
$custom: #4652cb;
$custom-light: #8882dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4652cb",
  "rgb": {
    "r": 70,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 234.586,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50174,
    "c": 0.18565,
    "h": 273.4
  },
  "luminance": 0.11648
}

Semantic roles & 50–950 ramp

primary
#4652CB
secondary
#D3CE9A
accent
#D248DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4652CB

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

Preview Lab → · Contrast checker → · Palette generator →

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