#4C45F0#4C45F0

#4C45F0 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.7% C 0.245 H 275.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4C45F0
RGBrgb(76, 69, 240)
HSLhsl(242, 85%, 61%)
HSVhsv(242, 71%, 94%)
CMYKcmyk(68.3%, 71.3%, 0%, 5.9%)
CIE-LABlab(41.35, 54.28, -84.31)
CIE-LCHlch(41.35, 100.27, 302.77°)
OKLaboklab(51.75% 0.0231 -0.2437)
OKLCHoklch(51.75% 0.245 275.4)
XYZxyz(20.8316, 12.0821, 83.6554)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45F0 #E9F045
analogous
#4593F0 #4C45F0 #A145F0
triadic
#4C45F0 #F04C45 #45F04C
tetradic
#4C45F0 #F04593 #E9F045 #45F0A1
square
#4C45F0 #F04593 #E9F045 #45F0A1
split-complementary
#4C45F0 #F0A145 #93F045
monochromatic
#140EAD #1B12E5 #4C45F0 #827EF5 #B9B6F9

Accessibility & contrast

On white

6.15
#4C45F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4C45F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C45F0
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45F0#FFFFFF#000000##FFFFFF
##4C45F01.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F5
Deuteranopia (green-blind)
#005AED
Tritanopia (blue-blind)
#007596
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c45f0;
/* rgb */ color: rgb(76, 69, 240);
/* oklch */ color: oklch(51.7% 0.245 275.4);
Tailwind
colors: {
  custom: {
    50: '#937bf6',
    500: '#4c45f0',
    950: '#000000',
  },
}
SCSS
$custom: #4c45f0;
$custom-light: #937bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45f0",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 242.456,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5175,
    "c": 0.24477,
    "h": 275.4
  },
  "luminance": 0.12084
}

Semantic roles & 50–950 ramp

primary
#4C45F0
secondary
#E6E9A8
accent
#E204D8
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #4C45F0

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

Preview Lab → · Contrast checker → · Palette generator →

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