#4740C1#4740C1

#4740C1 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.3% C 0.194 H 278.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4740C1
RGBrgb(71, 64, 193)
HSLhsl(243, 51%, 50%)
HSVhsv(243, 67%, 76%)
CMYKcmyk(63.2%, 66.8%, 0%, 24.3%)
CIE-LABlab(35.70, 41.54, -66.59)
CIE-LCHlch(35.70, 78.48, 301.95°)
OKLaboklab(46.32% 0.0272 -0.192)
OKLCHoklch(46.32% 0.194 278.1)
XYZxyz(14.0545, 8.8555, 51.4104)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740C1 #BAC140
analogous
#4079C1 #4740C1 #8840C1
triadic
#4740C1 #C14740 #40C147
tetradic
#4740C1 #C14079 #BAC140 #40C188
square
#4740C1 #C14079 #BAC140 #40C188
split-complementary
#4740C1 #C18840 #79C140
monochromatic
#252166 #353094 #4740C1 #746ED0 #A09CDF

Accessibility & contrast

On white

7.58
#4740C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4740C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740C1
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740C1#FFFFFF#000000##FFFFFF
##4740C11.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4740c1;
/* rgb */ color: rgb(71, 64, 193);
/* oklch */ color: oklch(46.3% 0.194 278.1);
Tailwind
colors: {
  custom: {
    50: '#8876d5',
    500: '#4740c1',
    950: '#000000',
  },
}
SCSS
$custom: #4740c1;
$custom-light: #8876d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4740c1",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 243.256,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46316,
    "c": 0.19393,
    "h": 278.1
  },
  "luminance": 0.08857
}

Semantic roles & 50–950 ramp

primary
#4740C1
secondary
#C8CB92
accent
#DA4DD3
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4740C1

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

Preview Lab → · Contrast checker → · Palette generator →

#4740C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva