#4C65CF#4C65CF

#4C65CF is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.166 H 270.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4C65CF
RGBrgb(76, 101, 207)
HSLhsl(229, 58%, 55%)
HSVhsv(229, 63%, 81%)
CMYKcmyk(63.3%, 51.2%, 0%, 18.8%)
CIE-LABlab(46.11, 24.10, -57.78)
CIE-LCHlch(46.11, 62.61, 292.64°)
OKLaboklab(54.44% 0.0003 -0.1657)
OKLCHoklch(54.44% 0.166 270.1)
XYZxyz(18.8929, 15.3472, 60.9861)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C65CF #CFB64C
analogous
#4CA6CF #4C65CF #754CCF
triadic
#4C65CF #CF4C65 #65CF4C
tetradic
#4C65CF #CF4CA6 #CFB64C #4CCF75
square
#4C65CF #CF4CA6 #CFB64C #4CCF75
split-complementary
#4C65CF #CF754C #A6CF4C
monochromatic
#22347F #2F47AF #4C65CF #7C8FDC #ADB8E9

Accessibility & contrast

On white

5.16
#4C65CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4C65CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C65CF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C65CF#FFFFFF#000000##FFFFFF
##4C65CF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2773D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4c65cf;
/* rgb */ color: rgb(76, 101, 207);
/* oklch */ color: oklch(54.4% 0.166 270.1);
Tailwind
colors: {
  custom: {
    50: '#8b90de',
    500: '#4c65cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c65cf;
$custom-light: #8b90de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c65cf",
  "rgb": {
    "r": 76,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 228.55,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5444,
    "c": 0.16568,
    "h": 270.1
  },
  "luminance": 0.15349
}

Semantic roles & 50–950 ramp

primary
#4C65CF
secondary
#D7CCA0
accent
#C447E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C65CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4C65CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva