#4A45F0#4A45F0

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

Color values

HEX#4A45F0
RGBrgb(74, 69, 240)
HSLhsl(242, 85%, 61%)
HSVhsv(242, 71%, 94%)
CMYKcmyk(69.2%, 71.3%, 0%, 5.9%)
CIE-LABlab(41.22, 54.07, -84.52)
CIE-LCHlch(41.22, 100.34, 302.61°)
OKLaboklab(51.63% 0.0207 -0.2443)
OKLCHoklch(51.63% 0.245 274.8)
XYZxyz(20.6751, 12.0014, 83.6481)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45F0 #EBF045
analogous
#4596F0 #4A45F0 #9F45F0
triadic
#4A45F0 #F04A45 #45F04A
tetradic
#4A45F0 #F04596 #EBF045 #45F09F
square
#4A45F0 #F04596 #EBF045 #45F09F
split-complementary
#4A45F0 #F09F45 #96F045
monochromatic
#130EAD #1912E5 #4A45F0 #817EF5 #B8B6F9

Accessibility & contrast

On white

6.18
#4A45F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4A45F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A45F0
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45F0#FFFFFF#000000##FFFFFF
##4A45F01.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.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: #4a45f0;
/* rgb */ color: rgb(74, 69, 240);
/* oklch */ color: oklch(51.6% 0.245 274.8);
Tailwind
colors: {
  custom: {
    50: '#927bf6',
    500: '#4a45f0',
    950: '#000000',
  },
}
SCSS
$custom: #4a45f0;
$custom-light: #927bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45f0",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 241.754,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.51626,
    "c": 0.24523,
    "h": 274.8
  },
  "luminance": 0.12003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A45F0

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

Preview Lab → · Contrast checker → · Palette generator →

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