#4F45C9#4F45C9

#4F45C9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.4% C 0.197 H 279.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4F45C9
RGBrgb(79, 69, 201)
HSLhsl(245, 55%, 53%)
HSVhsv(245, 66%, 79%)
CMYKcmyk(60.7%, 65.7%, 0%, 21.2%)
CIE-LABlab(38.08, 42.34, -67.34)
CIE-LCHlch(38.08, 79.55, 302.16°)
OKLaboklab(48.4% 0.0324 -0.194)
OKLCHoklch(48.4% 0.197 279.5)
XYZxyz(15.8918, 10.1344, 56.3657)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45C9 #BFC945
analogous
#457DC9 #4F45C9 #9145C9
triadic
#4F45C9 #C94F45 #45C94F
tetradic
#4F45C9 #C9457D #BFC945 #45C991
square
#4F45C9 #C9457D #BFC945 #45C991
split-complementary
#4F45C9 #C99145 #7DC945
monochromatic
#272172 #382FA2 #4F45C9 #7C74D7 #A9A4E5

Accessibility & contrast

On white

6.94
#4F45C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4F45C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45C9
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45C9#FFFFFF#000000##FFFFFF
##4F45C91.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0054C6
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f45c9;
/* rgb */ color: rgb(79, 69, 201);
/* oklch */ color: oklch(48.4% 0.197 279.5);
Tailwind
colors: {
  custom: {
    50: '#8d7ada',
    500: '#4f45c9',
    950: '#000000',
  },
}
SCSS
$custom: #4f45c9;
$custom-light: #8d7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45c9",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 244.545,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48401,
    "c": 0.19667,
    "h": 279.5
  },
  "luminance": 0.10136
}

Semantic roles & 50–950 ramp

primary
#4F45C9
secondary
#CDD198
accent
#DE49D3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4F45C9

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

Preview Lab → · Contrast checker → · Palette generator →

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