#4652CF#4652CF

#4652CF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.191 H 273.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4652CF
RGBrgb(70, 82, 207)
HSLhsl(235, 59%, 54%)
HSVhsv(235, 66%, 81%)
CMYKcmyk(66.2%, 60.4%, 0%, 18.8%)
CIE-LABlab(40.96, 35.09, -66.14)
CIE-LCHlch(40.96, 74.87, 297.95°)
OKLaboklab(50.5% 0.0108 -0.1906)
OKLCHoklch(50.5% 0.191 273.2)
XYZxyz(16.8018, 11.8402, 60.4193)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4652CF #CFC346
analogous
#4696CF #4652CF #7F46CF
triadic
#4652CF #CF4652 #52CF46
tetradic
#4652CF #CF4696 #CFC346 #46CF7F
square
#4652CF #CF4696 #CFC346 #46CF7F
split-complementary
#4652CF #CF7F46 #96CF46
monochromatic
#20287B #2C38AB #4652CF #777FDC #A7ADE8

Accessibility & contrast

On white

6.23
#4652CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4652CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4652CF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4652CF#FFFFFF#000000##FFFFFF
##4652CF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4652cf;
/* rgb */ color: rgb(70, 82, 207);
/* oklch */ color: oklch(50.5% 0.191 273.2);
Tailwind
colors: {
  custom: {
    50: '#8982df',
    500: '#4652cf',
    950: '#000000',
  },
}
SCSS
$custom: #4652cf;
$custom-light: #8982df;
$custom-dark: #000000;
JSON
{
  "hex": "#4652cf",
  "rgb": {
    "r": 70,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 234.745,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.19092,
    "h": 273.2
  },
  "luminance": 0.11842
}

Semantic roles & 50–950 ramp

primary
#4652CF
secondary
#D5D09B
accent
#D446E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4652CF

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

Preview Lab → · Contrast checker → · Palette generator →

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