#4A42B8#4A42B8

#4A42B8 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.1% C 0.179 H 279.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4A42B8
RGBrgb(74, 66, 184)
HSLhsl(244, 47%, 49%)
HSVhsv(244, 64%, 72%)
CMYKcmyk(59.8%, 64.1%, 0%, 27.8%)
CIE-LABlab(35.62, 37.87, -61.43)
CIE-LCHlch(35.62, 72.17, 301.65°)
OKLaboklab(46.08% 0.0303 -0.1768)
OKLCHoklch(46.08% 0.179 279.7)
XYZxyz(13.4212, 8.8120, 46.3317)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42B8 #B0B842
analogous
#4275B8 #4A42B8 #8542B8
triadic
#4A42B8 #B84A42 #42B84A
tetradic
#4A42B8 #B84275 #B0B842 #42B885
square
#4A42B8 #B84275 #B0B842 #42B885
split-complementary
#4A42B8 #B88542 #75B842
monochromatic
#26225E #38328B #4A42B8 #736DCB #9E9ADB

Accessibility & contrast

On white

7.60
#4A42B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4A42B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A42B8
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42B8#FFFFFF#000000##FFFFFF
##4A42B81.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a42b8;
/* rgb */ color: rgb(74, 66, 184);
/* oklch */ color: oklch(46.1% 0.179 279.7);
Tailwind
colors: {
  custom: {
    50: '#8877ce',
    500: '#4a42b8',
    950: '#000000',
  },
}
SCSS
$custom: #4a42b8;
$custom-light: #8877ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42b8",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 244.068,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46078,
    "c": 0.17936,
    "h": 279.7
  },
  "luminance": 0.08813
}

Semantic roles & 50–950 ramp

primary
#4A42B8
secondary
#C3C78F
accent
#D751CE
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4A42B8

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

Preview Lab → · Contrast checker → · Palette generator →

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