#4A45BE#4A45BE

#4A45BE is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.1% C 0.184 H 278.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4A45BE
RGBrgb(74, 69, 190)
HSLhsl(242, 48%, 51%)
HSVhsv(242, 64%, 75%)
CMYKcmyk(61.1%, 63.7%, 0%, 25.5%)
CIE-LABlab(36.80, 38.01, -63.04)
CIE-LCHlch(36.80, 73.61, 301.09°)
OKLaboklab(47.09% 0.0272 -0.1815)
OKLCHoklch(47.09% 0.184 278.5)
XYZxyz(14.2435, 9.4287, 49.7746)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45BE #B9BE45
analogous
#457CBE #4A45BE #8645BE
triadic
#4A45BE #BE4A45 #45BE4A
tetradic
#4A45BE #BE457C #B9BE45 #45BE86
square
#4A45BE #BE457C #B9BE45 #45BE86
split-complementary
#4A45BE #BE8645 #7CBE45
monochromatic
#262365 #373393 #4A45BE #7672CE #A2A0DE

Accessibility & contrast

On white

7.28
#4A45BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4A45BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A45BE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45BE#FFFFFF#000000##FFFFFF
##4A45BE1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a45be;
/* rgb */ color: rgb(74, 69, 190);
/* oklch */ color: oklch(47.1% 0.184 278.5);
Tailwind
colors: {
  custom: {
    50: '#8979d3',
    500: '#4a45be',
    950: '#000000',
  },
}
SCSS
$custom: #4a45be;
$custom-light: #8979d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45be",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 242.479,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47089,
    "c": 0.18351,
    "h": 278.5
  },
  "luminance": 0.0943
}

Semantic roles & 50–950 ramp

primary
#4A45BE
secondary
#C8CA95
accent
#D850D2
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4A45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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