#4F45E9#4F45E9

#4F45E9 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.3% C 0.236 H 276.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4F45E9
RGBrgb(79, 69, 233)
HSLhsl(244, 79%, 59%)
HSVhsv(244, 70%, 91%)
CMYKcmyk(66.1%, 70.4%, 0%, 8.6%)
CIE-LABlab(40.90, 52.43, -81.08)
CIE-LCHlch(40.90, 96.56, 302.89°)
OKLaboklab(51.29% 0.0279 -0.2342)
OKLCHoklch(51.29% 0.236 276.8)
XYZxyz(20.0558, 11.7999, 78.2957)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45E9 #DFE945
analogous
#458DE9 #4F45E9 #A145E9
triadic
#4F45E9 #E94F45 #45E94F
tetradic
#4F45E9 #E9458D #DFE945 #45E9A1
square
#4F45E9 #E9458D #DFE945 #45E9A1
split-complementary
#4F45E9 #E9A145 #8DE945
monochromatic
#1C13A1 #2519D7 #4F45E9 #837CEF #B7B2F6

Accessibility & contrast

On white

6.25
#4F45E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4F45E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45E9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45E9#FFFFFF#000000##FFFFFF
##4F45E91.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EE
Deuteranopia (green-blind)
#0059E6
Tritanopia (blue-blind)
#007292
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f45e9;
/* rgb */ color: rgb(79, 69, 233);
/* oklch */ color: oklch(51.3% 0.236 276.8);
Tailwind
colors: {
  custom: {
    50: '#937bf1',
    500: '#4f45e9',
    950: '#000000',
  },
}
SCSS
$custom: #4f45e9;
$custom-light: #937bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45e9",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 233
  },
  "hsl": {
    "h": 243.659,
    "s": 78.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.23585,
    "h": 276.8
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#4F45E9
secondary
#E1E5A5
accent
#F532E9
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #4F45E9

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

Preview Lab → · Contrast checker → · Palette generator →

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