#4F45D2#4F45D2

#4F45D2 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.2% C 0.208 H 278.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4F45D2
RGBrgb(79, 69, 210)
HSLhsl(244, 61%, 55%)
HSVhsv(244, 67%, 82%)
CMYKcmyk(62.4%, 67.1%, 0%, 17.6%)
CIE-LABlab(38.85, 45.20, -71.30)
CIE-LCHlch(38.85, 84.42, 302.37°)
OKLaboklab(49.19% 0.0313 -0.2056)
OKLCHoklch(49.19% 0.208 278.7)
XYZxyz(16.9817, 10.5703, 62.1057)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45D2 #C8D245
analogous
#4582D2 #4F45D2 #9545D2
triadic
#4F45D2 #D24F45 #45D24F
tetradic
#4F45D2 #D24582 #C8D245 #45D295
square
#4F45D2 #D24582 #C8D245 #45D295
split-complementary
#4F45D2 #D29545 #82D245
monochromatic
#251F7E #342AAF #4F45D2 #7E76DE #ACA8EA

Accessibility & contrast

On white

6.74
#4F45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4F45D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45D2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45D2#FFFFFF#000000##FFFFFF
##4F45D21.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f45d2;
/* rgb */ color: rgb(79, 69, 210);
/* oklch */ color: oklch(49.2% 0.208 278.7);
Tailwind
colors: {
  custom: {
    50: '#8f7ae1',
    500: '#4f45d2',
    950: '#000000',
  },
}
SCSS
$custom: #4f45d2;
$custom-light: #8f7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45d2",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 244.255,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.4919,
    "c": 0.20795,
    "h": 278.7
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#4F45D2
secondary
#D3D79C
accent
#E444D9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4F45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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