#4740CA#4740CA

#4740CA is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.1% C 0.205 H 277.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#4740CA
RGBrgb(71, 64, 202)
HSLhsl(243, 57%, 52%)
HSVhsv(243, 68%, 79%)
CMYKcmyk(64.9%, 68.3%, 0%, 20.8%)
CIE-LABlab(36.50, 44.45, -70.54)
CIE-LCHlch(36.50, 83.38, 302.22°)
OKLaboklab(47.13% 0.026 -0.2036)
OKLCHoklch(47.13% 0.205 277.3)
XYZxyz(15.0891, 9.2694, 56.8597)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740CA #C3CA40
analogous
#407ECA #4740CA #8C40CA
triadic
#4740CA #CA4740 #40CA47
tetradic
#4740CA #CA407E #C3CA40 #40CA8C
square
#4740CA #CA407E #C3CA40 #40CA8C
split-complementary
#4740CA #CA8C40 #7ECA40
monochromatic
#231F70 #322CA0 #4740CA #7570D7 #A3A0E5

Accessibility & contrast

On white

7.36
#4740CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4740CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740CA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740CA#FFFFFF#000000##FFFFFF
##4740CA1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4740ca;
/* rgb */ color: rgb(71, 64, 202);
/* oklch */ color: oklch(47.1% 0.205 277.3);
Tailwind
colors: {
  custom: {
    50: '#8a76db',
    500: '#4740ca',
    950: '#000000',
  },
}
SCSS
$custom: #4740ca;
$custom-light: #8a76db;
$custom-dark: #000000;
JSON
{
  "hex": "#4740ca",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 243.043,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47132,
    "c": 0.20524,
    "h": 277.3
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#4740CA
secondary
#CED195
accent
#E048D8
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4740CA

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

Preview Lab → · Contrast checker → · Palette generator →

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