#4F45EA#4F45EA

#4F45EA is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.4% C 0.237 H 276.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4F45EA
RGBrgb(79, 69, 234)
HSLhsl(244, 80%, 59%)
HSVhsv(244, 71%, 92%)
CMYKcmyk(66.2%, 70.5%, 0%, 8.2%)
CIE-LABlab(40.99, 52.74, -81.50)
CIE-LCHlch(40.99, 97.07, 302.91°)
OKLaboklab(51.38% 0.0277 -0.2354)
OKLCHoklch(51.38% 0.237 276.7)
XYZxyz(20.1990, 11.8573, 79.0502)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45EA #E0EA45
analogous
#458EEA #4F45EA #A145EA
triadic
#4F45EA #EA4F45 #45EA4F
tetradic
#4F45EA #EA458E #E0EA45 #45EAA1
square
#4F45EA #EA458E #E0EA45 #45EAA1
split-complementary
#4F45EA #EAA145 #8EEA45
monochromatic
#1B12A2 #2419D9 #4F45EA #837CF0 #B7B3F6

Accessibility & contrast

On white

6.23
#4F45EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4F45EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45EA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45EA#FFFFFF#000000##FFFFFF
##4F45EA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#0059E7
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f45ea;
/* rgb */ color: rgb(79, 69, 234);
/* oklch */ color: oklch(51.4% 0.237 276.7);
Tailwind
colors: {
  custom: {
    50: '#937bf2',
    500: '#4f45ea',
    950: '#000000',
  },
}
SCSS
$custom: #4f45ea;
$custom-light: #937bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45ea",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 243.636,
    "s": 79.71,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51379,
    "c": 0.23704,
    "h": 276.7
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#4F45EA
secondary
#E2E6A5
accent
#F632EA
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #4F45EA

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

Preview Lab → · Contrast checker → · Palette generator →

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