#4658C4#4658C4

#4658C4 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.169 H 271.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4658C4
RGBrgb(70, 88, 196)
HSLhsl(231, 52%, 52%)
HSVhsv(231, 64%, 77%)
CMYKcmyk(64.3%, 55.1%, 0%, 23.1%)
CIE-LABlab(41.64, 27.51, -58.68)
CIE-LCHlch(41.64, 64.81, 295.12°)
OKLaboklab(50.74% 0.0055 -0.1686)
OKLCHoklch(50.74% 0.169 271.9)
XYZxyz(15.9760, 12.2657, 53.7394)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4658C4 #C4B246
analogous
#4697C4 #4658C4 #7346C4
triadic
#4658C4 #C44658 #58C446
tetradic
#4658C4 #C44697 #C4B246 #46C473
square
#4658C4 #C44697 #C4B246 #46C473
split-complementary
#4658C4 #C47346 #97C446
monochromatic
#232D6D #32419B #4658C4 #7482D3 #A3ACE2

Accessibility & contrast

On white

6.08
#4658C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4658C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4658C4
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4658C4#FFFFFF#000000##FFFFFF
##4658C41.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4658c4;
/* rgb */ color: rgb(70, 88, 196);
/* oklch */ color: oklch(50.7% 0.169 271.9);
Tailwind
colors: {
  custom: {
    50: '#8786d7',
    500: '#4658c4',
    950: '#000000',
  },
}
SCSS
$custom: #4658c4;
$custom-light: #8786d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4658c4",
  "rgb": {
    "r": 70,
    "g": 88,
    "b": 196
  },
  "hsl": {
    "h": 231.429,
    "s": 51.639,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50744,
    "c": 0.16872,
    "h": 271.9
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#4658C4
secondary
#CEC797
accent
#C74DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4658C4

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

Preview Lab → · Contrast checker → · Palette generator →

#4658C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva