#4740C2#4740C2

#4740C2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.4% C 0.195 H 278.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#4740C2
RGBrgb(71, 64, 194)
HSLhsl(243, 52%, 51%)
HSVhsv(243, 67%, 76%)
CMYKcmyk(63.4%, 67%, 0%, 23.9%)
CIE-LABlab(35.79, 41.86, -67.03)
CIE-LCHlch(35.79, 79.03, 301.98°)
OKLaboklab(46.41% 0.0271 -0.1933)
OKLCHoklch(46.41% 0.195 278)
XYZxyz(14.1664, 8.9003, 51.9999)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740C2 #BBC240
analogous
#407AC2 #4740C2 #8840C2
triadic
#4740C2 #C24740 #40C247
tetradic
#4740C2 #C2407A #BBC240 #40C288
square
#4740C2 #C2407A #BBC240 #40C288
split-complementary
#4740C2 #C28840 #7AC240
monochromatic
#252167 #353095 #4740C2 #746ED1 #A09DE0

Accessibility & contrast

On white

7.55
#4740C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4740C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740C2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740C2#FFFFFF#000000##FFFFFF
##4740C21.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4740c2;
/* rgb */ color: rgb(71, 64, 194);
/* oklch */ color: oklch(46.4% 0.195 278.0);
Tailwind
colors: {
  custom: {
    50: '#8876d6',
    500: '#4740c2',
    950: '#000000',
  },
}
SCSS
$custom: #4740c2;
$custom-light: #8876d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4740c2",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 243.231,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46406,
    "c": 0.1952,
    "h": 278
  },
  "luminance": 0.08901
}

Semantic roles & 50–950 ramp

primary
#4740C2
secondary
#C9CC92
accent
#DB4DD3
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4740C2

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

Preview Lab → · Contrast checker → · Palette generator →

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