#4F45F2#4F45F2

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

Color values

HEX#4F45F2
RGBrgb(79, 69, 242)
HSLhsl(243, 87%, 61%)
HSVhsv(243, 71%, 95%)
CMYKcmyk(67.4%, 71.5%, 0%, 5.1%)
CIE-LABlab(41.73, 55.21, -84.79)
CIE-LCHlch(41.73, 101.18, 303.07°)
OKLaboklab(52.13% 0.0264 -0.245)
OKLCHoklch(52.13% 0.246 276.1)
XYZxyz(21.3743, 12.3274, 85.2402)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45F2 #E8F245
analogous
#4591F2 #4F45F2 #A545F2
triadic
#4F45F2 #F24F45 #45F24F
tetradic
#4F45F2 #F24591 #E8F245 #45F2A5
square
#4F45F2 #F24591 #E8F245 #45F2A5
split-complementary
#4F45F2 #F2A545 #91F245
monochromatic
#160CB0 #1D10E9 #4F45F2 #857EF6 #BBB7FA

Accessibility & contrast

On white

6.06
#4F45F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4F45F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45F2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45F2#FFFFFF#000000##FFFFFF
##4F45F21.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.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: #4f45f2;
/* rgb */ color: rgb(79, 69, 242);
/* oklch */ color: oklch(52.1% 0.246 276.1);
Tailwind
colors: {
  custom: {
    50: '#957bf8',
    500: '#4f45f2',
    950: '#000000',
  },
}
SCSS
$custom: #4f45f2;
$custom-light: #957bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45f2",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 242
  },
  "hsl": {
    "h": 243.468,
    "s": 86.935,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52133,
    "c": 0.24643,
    "h": 276.1
  },
  "luminance": 0.12329
}

Semantic roles & 50–950 ramp

primary
#4F45F2
secondary
#E6EAA9
accent
#E302D6
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #4F45F2

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

Preview Lab → · Contrast checker → · Palette generator →

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