#4742DB#4742DB

#4742DB is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.0% C 0.224 H 275.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4742DB
RGBrgb(71, 66, 219)
HSLhsl(242, 68%, 56%)
HSVhsv(242, 70%, 86%)
CMYKcmyk(67.6%, 69.9%, 0%, 14.1%)
CIE-LABlab(38.46, 48.77, -77.13)
CIE-LCHlch(38.46, 91.25, 302.31°)
OKLaboklab(49.01% 0.0222 -0.2228)
OKLCHoklch(49.01% 0.224 275.7)
XYZxyz(17.3287, 10.3489, 68.0884)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4742DB #D6DB42
analogous
#4289DB #4742DB #9342DB
triadic
#4742DB #DB4742 #42DB47
tetradic
#4742DB #DB4289 #D6DB42 #42DB93
square
#4742DB #DB4289 #D6DB42 #42DB93
split-complementary
#4742DB #DB9342 #89DB42
monochromatic
#1E1A89 #2924BC #4742DB #7975E5 #ABA9EF

Accessibility & contrast

On white

6.84
#4742DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4742DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4742DB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4742DB#FFFFFF#000000##FFFFFF
##4742DB1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E0
Deuteranopia (green-blind)
#0054D8
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4742db;
/* rgb */ color: rgb(71, 66, 219);
/* oklch */ color: oklch(49.0% 0.224 275.7);
Tailwind
colors: {
  custom: {
    50: '#8d78e7',
    500: '#4742db',
    950: '#000000',
  },
}
SCSS
$custom: #4742db;
$custom-light: #8d78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4742db",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 241.961,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49013,
    "c": 0.22395,
    "h": 275.7
  },
  "luminance": 0.1035
}

Semantic roles & 50–950 ramp

primary
#4742DB
secondary
#DADC9D
accent
#EB3DE5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4742DB

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

Preview Lab → · Contrast checker → · Palette generator →

#4742DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva