#4B45F0#4B45F0

#4B45F0 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.7% C 0.245 H 275.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4B45F0
RGBrgb(75, 69, 240)
HSLhsl(242, 85%, 61%)
HSVhsv(242, 71%, 94%)
CMYKcmyk(68.7%, 71.3%, 0%, 5.9%)
CIE-LABlab(41.28, 54.18, -84.41)
CIE-LCHlch(41.28, 100.30, 302.69°)
OKLaboklab(51.69% 0.0219 -0.244)
OKLCHoklch(51.69% 0.245 275.1)
XYZxyz(20.7528, 12.0414, 83.6517)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45F0 #EAF045
analogous
#4595F0 #4B45F0 #A045F0
triadic
#4B45F0 #F04B45 #45F04B
tetradic
#4B45F0 #F04595 #EAF045 #45F0A0
square
#4B45F0 #F04595 #EAF045 #45F0A0
split-complementary
#4B45F0 #F0A045 #95F045
monochromatic
#130EAD #1A12E5 #4B45F0 #827EF5 #B9B6F9

Accessibility & contrast

On white

6.16
#4B45F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4B45F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B45F0
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45F0#FFFFFF#000000##FFFFFF
##4B45F01.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F5
Deuteranopia (green-blind)
#0059ED
Tritanopia (blue-blind)
#007596
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b45f0;
/* rgb */ color: rgb(75, 69, 240);
/* oklch */ color: oklch(51.7% 0.245 275.1);
Tailwind
colors: {
  custom: {
    50: '#937bf6',
    500: '#4b45f0',
    950: '#000000',
  },
}
SCSS
$custom: #4b45f0;
$custom-light: #937bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45f0",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 242.105,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.51688,
    "c": 0.245,
    "h": 275.1
  },
  "luminance": 0.12043
}

Semantic roles & 50–950 ramp

primary
#4B45F0
secondary
#E7E9A8
accent
#E204DA
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #4B45F0

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

Preview Lab → · Contrast checker → · Palette generator →

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