#4A42DF#4A42DF

#4A42DF is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.6% C 0.228 H 276.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4A42DF
RGBrgb(74, 66, 223)
HSLhsl(243, 71%, 57%)
HSVhsv(243, 70%, 87%)
CMYKcmyk(66.8%, 70.4%, 0%, 12.5%)
CIE-LABlab(39.03, 50.38, -78.47)
CIE-LCHlch(39.03, 93.25, 302.70°)
OKLaboklab(49.59% 0.0252 -0.2267)
OKLCHoklch(49.59% 0.228 276.4)
XYZxyz(18.0872, 10.6784, 70.9057)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42DF #D7DF42
analogous
#4289DF #4A42DF #9842DF
triadic
#4A42DF #DF4A42 #42DF4A
tetradic
#4A42DF #DF4289 #D7DF42 #42DF98
square
#4A42DF #DF4289 #D7DF42 #42DF98
split-complementary
#4A42DF #DF9842 #89DF42
monochromatic
#1E188E #2921C3 #4A42DF #7C76E8 #AEABF1

Accessibility & contrast

On white

6.70
#4A42DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4A42DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A42DF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42DF#FFFFFF#000000##FFFFFF
##4A42DF1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E4
Deuteranopia (green-blind)
#0055DC
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a42df;
/* rgb */ color: rgb(74, 66, 223);
/* oklch */ color: oklch(49.6% 0.228 276.4);
Tailwind
colors: {
  custom: {
    50: '#8f78ea',
    500: '#4a42df',
    950: '#000000',
  },
}
SCSS
$custom: #4a42df;
$custom-light: #8f78ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42df",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 223
  },
  "hsl": {
    "h": 243.057,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.49586,
    "c": 0.22808,
    "h": 276.4
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#4A42DF
secondary
#DBDF9E
accent
#EE3AE5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A42DF

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

Preview Lab → · Contrast checker → · Palette generator →

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