#4F45CA#4F45CA

#4F45CA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.5% C 0.198 H 279.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4F45CA
RGBrgb(79, 69, 202)
HSLhsl(245, 56%, 53%)
HSVhsv(245, 66%, 79%)
CMYKcmyk(60.9%, 65.8%, 0%, 20.8%)
CIE-LABlab(38.17, 42.66, -67.79)
CIE-LCHlch(38.17, 80.09, 302.18°)
OKLaboklab(48.49% 0.0323 -0.1953)
OKLCHoklch(48.49% 0.198 279.4)
XYZxyz(16.0098, 10.1816, 56.9872)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45CA #C0CA45
analogous
#457DCA #4F45CA #9145CA
triadic
#4F45CA #CA4F45 #45CA4F
tetradic
#4F45CA #CA457D #C0CA45 #45CA91
square
#4F45CA #CA457D #C0CA45 #45CA91
split-complementary
#4F45CA #CA9145 #7DCA45
monochromatic
#272174 #372FA3 #4F45CA #7C75D8 #A9A4E5

Accessibility & contrast

On white

6.92
#4F45CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4F45CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45CA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45CA#FFFFFF#000000##FFFFFF
##4F45CA1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f45ca;
/* rgb */ color: rgb(79, 69, 202);
/* oklch */ color: oklch(48.5% 0.198 279.4);
Tailwind
colors: {
  custom: {
    50: '#8d7adb',
    500: '#4f45ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f45ca;
$custom-light: #8d7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45ca",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 244.511,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48488,
    "c": 0.19793,
    "h": 279.4
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#4F45CA
secondary
#CED299
accent
#DF49D4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4F45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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