#4E45F2#4E45F2

#4E45F2 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 52.1% C 0.247 H 275.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4E45F2
RGBrgb(78, 69, 242)
HSLhsl(243, 87%, 61%)
HSVhsv(243, 71%, 95%)
CMYKcmyk(67.8%, 71.5%, 0%, 5.1%)
CIE-LABlab(41.67, 55.11, -84.90)
CIE-LCHlch(41.67, 101.22, 302.99°)
OKLaboklab(52.07% 0.0251 -0.2454)
OKLCHoklch(52.07% 0.247 275.8)
XYZxyz(21.2918, 12.2848, 85.2363)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45F2 #E9F245
analogous
#4592F2 #4E45F2 #A445F2
triadic
#4E45F2 #F24E45 #45F24E
tetradic
#4E45F2 #F24592 #E9F245 #45F2A4
square
#4E45F2 #F24592 #E9F245 #45F2A4
split-complementary
#4E45F2 #F2A445 #92F245
monochromatic
#150CB0 #1C10E9 #4E45F2 #847EF6 #BBB7FA

Accessibility & contrast

On white

6.07
#4E45F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4E45F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E45F2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45F2#FFFFFF#000000##FFFFFF
##4E45F21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF7
Deuteranopia (green-blind)
#005BEF
Tritanopia (blue-blind)
#007697
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e45f2;
/* rgb */ color: rgb(78, 69, 242);
/* oklch */ color: oklch(52.1% 0.247 275.8);
Tailwind
colors: {
  custom: {
    50: '#947bf8',
    500: '#4e45f2',
    950: '#000000',
  },
}
SCSS
$custom: #4e45f2;
$custom-light: #947bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45f2",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 242
  },
  "hsl": {
    "h": 243.121,
    "s": 86.935,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52068,
    "c": 0.24665,
    "h": 275.8
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#4E45F2
secondary
#E7EAA9
accent
#E302D8
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #4E45F2

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

Preview Lab → · Contrast checker → · Palette generator →

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