#4740DA#4740DA

#4740DA is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.225 H 276.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4740DA
RGBrgb(71, 64, 218)
HSLhsl(243, 68%, 55%)
HSVhsv(243, 71%, 85%)
CMYKcmyk(67.4%, 70.6%, 0%, 14.5%)
CIE-LABlab(37.96, 49.57, -77.38)
CIE-LCHlch(37.96, 91.90, 302.65°)
OKLaboklab(48.63% 0.0236 -0.2236)
OKLCHoklch(48.63% 0.225 276)
XYZxyz(17.0827, 10.0668, 67.3589)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740DA #D3DA40
analogous
#4086DA #4740DA #9440DA
triadic
#4740DA #DA4740 #40DA47
tetradic
#4740DA #DA4086 #D3DA40 #40DA94
square
#4740DA #DA4086 #D3DA40 #40DA94
split-complementary
#4740DA #DA9440 #86DA40
monochromatic
#1F1A86 #2B24B9 #4740DA #7873E4 #AAA7EE

Accessibility & contrast

On white

6.97
#4740DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4740DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4740DA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740DA#FFFFFF#000000##FFFFFF
##4740DA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DF
Deuteranopia (green-blind)
#0052D7
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4740da;
/* rgb */ color: rgb(71, 64, 218);
/* oklch */ color: oklch(48.6% 0.225 276.0);
Tailwind
colors: {
  custom: {
    50: '#8d76e7',
    500: '#4740da',
    950: '#000000',
  },
}
SCSS
$custom: #4740da;
$custom-light: #8d76e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4740da",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 218
  },
  "hsl": {
    "h": 242.727,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.48627,
    "c": 0.2248,
    "h": 276
  },
  "luminance": 0.10068
}

Semantic roles & 50–950 ramp

primary
#4740DA
secondary
#D8DB9B
accent
#EA3DE3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4740DA

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

Preview Lab → · Contrast checker → · Palette generator →

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