#4D45F2#4D45F2

#4D45F2 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 52.0% C 0.247 H 275.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4D45F2
RGBrgb(77, 69, 242)
HSLhsl(243, 87%, 61%)
HSVhsv(243, 71%, 95%)
CMYKcmyk(68.2%, 71.5%, 0%, 5.1%)
CIE-LABlab(41.60, 55.00, -85.01)
CIE-LCHlch(41.60, 101.25, 302.90°)
OKLaboklab(52% 0.0239 -0.2457)
OKLCHoklch(52% 0.247 275.6)
XYZxyz(21.2104, 12.2429, 85.2325)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45F2 #EAF245
analogous
#4593F2 #4D45F2 #A445F2
triadic
#4D45F2 #F24D45 #45F24D
tetradic
#4D45F2 #F24593 #EAF245 #45F2A4
square
#4D45F2 #F24593 #EAF245 #45F2A4
split-complementary
#4D45F2 #F2A445 #93F245
monochromatic
#140CB0 #1A10E9 #4D45F2 #847EF6 #BAB7FA

Accessibility & contrast

On white

6.09
#4D45F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4D45F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45F2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45F2#FFFFFF#000000##FFFFFF
##4D45F21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF7
Deuteranopia (green-blind)
#005AEF
Tritanopia (blue-blind)
#007697
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d45f2;
/* rgb */ color: rgb(77, 69, 242);
/* oklch */ color: oklch(52.0% 0.247 275.6);
Tailwind
colors: {
  custom: {
    50: '#947bf8',
    500: '#4d45f2',
    950: '#000000',
  },
}
SCSS
$custom: #4d45f2;
$custom-light: #947bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45f2",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 242
  },
  "hsl": {
    "h": 242.775,
    "s": 86.935,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.24688,
    "h": 275.6
  },
  "luminance": 0.12245
}

Semantic roles & 50–950 ramp

primary
#4D45F2
secondary
#E7EAA9
accent
#E302D9
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #4D45F2

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

Preview Lab → · Contrast checker → · Palette generator →

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