#4C65BA#4C65BA

#4C65BA is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.0% C 0.136 H 269.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4C65BA
RGBrgb(76, 101, 186)
HSLhsl(226, 44%, 51%)
HSVhsv(226, 59%, 73%)
CMYKcmyk(59.1%, 45.7%, 0%, 27.1%)
CIE-LABlab(44.78, 16.89, -47.79)
CIE-LCHlch(44.78, 50.68, 289.47°)
OKLaboklab(53.01% -0.0023 -0.1363)
OKLCHoklch(53.01% 0.136 269)
XYZxyz(16.4941, 14.3877, 48.3528)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C65BA #BAA14C
analogous
#4C9CBA #4C65BA #6A4CBA
triadic
#4C65BA #BA4C65 #65BA4C
tetradic
#4C65BA #BA4C9C #BAA14C #4CBA6A
square
#4C65BA #BA4C9C #BAA14C #4CBA6A
split-complementary
#4C65BA #BA6A4C #9CBA4C
monochromatic
#273565 #384C91 #4C65BA #788BCB #A4B1DC

Accessibility & contrast

On white

5.42
#4C65BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4C65BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C65BA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C65BA#FFFFFF#000000##FFFFFF
##4C65BA1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBD
Deuteranopia (green-blind)
#2D65B8
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c65ba;
/* rgb */ color: rgb(76, 101, 186);
/* oklch */ color: oklch(53.0% 0.136 269.0);
Tailwind
colors: {
  custom: {
    50: '#8790cf',
    500: '#4c65ba',
    950: '#000000',
  },
}
SCSS
$custom: #4c65ba;
$custom-light: #8790cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c65ba",
  "rgb": {
    "r": 76,
    "g": 101,
    "b": 186
  },
  "hsl": {
    "h": 226.364,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53011,
    "c": 0.13631,
    "h": 269
  },
  "luminance": 0.14389
}

Semantic roles & 50–950 ramp

primary
#4C65BA
secondary
#C9BE99
accent
#B754D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4C65BA

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

Preview Lab → · Contrast checker → · Palette generator →

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