#4740CE#4740CE

#4740CE is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.5% C 0.210 H 277.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4740CE
RGBrgb(71, 64, 206)
HSLhsl(243, 59%, 53%)
HSVhsv(243, 69%, 81%)
CMYKcmyk(65.5%, 68.9%, 0%, 19.2%)
CIE-LABlab(36.86, 45.74, -72.27)
CIE-LCHlch(36.86, 85.53, 302.33°)
OKLaboklab(47.5% 0.0255 -0.2086)
OKLCHoklch(47.5% 0.21 277)
XYZxyz(15.5689, 9.4613, 59.3863)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740CE #C7CE40
analogous
#4080CE #4740CE #8E40CE
triadic
#4740CE #CE4740 #40CE47
tetradic
#4740CE #CE4080 #C7CE40 #40CE8E
square
#4740CE #CE4080 #C7CE40 #40CE8E
split-complementary
#4740CE #CE8E40 #80CE40
monochromatic
#221E75 #312BA6 #4740CE #7671DA #A5A1E7

Accessibility & contrast

On white

7.26
#4740CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4740CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740CE
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740CE#FFFFFF#000000##FFFFFF
##4740CE1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#0051CB
Tritanopia (blue-blind)
#006682
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4740ce;
/* rgb */ color: rgb(71, 64, 206);
/* oklch */ color: oklch(47.5% 0.210 277.0);
Tailwind
colors: {
  custom: {
    50: '#8b76de',
    500: '#4740ce',
    950: '#000000',
  },
}
SCSS
$custom: #4740ce;
$custom-light: #8b76de;
$custom-dark: #000000;
JSON
{
  "hex": "#4740ce",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 242.958,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47501,
    "c": 0.2102,
    "h": 277
  },
  "luminance": 0.09463
}

Semantic roles & 50–950 ramp

primary
#4740CE
secondary
#D1D496
accent
#E245DB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4740CE

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

Preview Lab → · Contrast checker → · Palette generator →

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