#4C65CB#4C65CB

#4C65CB is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.2% C 0.160 H 270.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4C65CB
RGBrgb(76, 101, 203)
HSLhsl(228, 55%, 55%)
HSVhsv(228, 63%, 80%)
CMYKcmyk(62.6%, 50.2%, 0%, 20.4%)
CIE-LABlab(45.84, 22.72, -55.91)
CIE-LCHlch(45.84, 60.35, 292.12°)
OKLaboklab(54.16% -0.0001 -0.1602)
OKLCHoklch(54.16% 0.16 270)
XYZxyz(18.4100, 15.1541, 58.4432)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C65CB #CBB24C
analogous
#4CA5CB #4C65CB #734CCB
triadic
#4C65CB #CB4C65 #65CB4C
tetradic
#4C65CB #CB4CA5 #CBB24C #4CCB73
square
#4C65CB #CB4CA5 #CBB24C #4CCB73
split-complementary
#4C65CB #CB734C #A5CB4C
monochromatic
#233479 #3149A9 #4C65CB #7B8ED9 #ABB7E7

Accessibility & contrast

On white

5.21
#4C65CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4C65CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C65CB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C65CB#FFFFFF#000000##FFFFFF
##4C65CB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C73CF
Deuteranopia (green-blind)
#0867C9
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4c65cb;
/* rgb */ color: rgb(76, 101, 203);
/* oklch */ color: oklch(54.2% 0.160 270.0);
Tailwind
colors: {
  custom: {
    50: '#8a90db',
    500: '#4c65cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c65cb;
$custom-light: #8a90db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c65cb",
  "rgb": {
    "r": 76,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 228.189,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.16017,
    "h": 270
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

primary
#4C65CB
secondary
#D4CA9F
accent
#C149DE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C65CB

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

Preview Lab → · Contrast checker → · Palette generator →

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