#4740CF#4740CF

#4740CF is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.6% C 0.211 H 276.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4740CF
RGBrgb(71, 64, 207)
HSLhsl(243, 60%, 53%)
HSVhsv(243, 69%, 81%)
CMYKcmyk(65.7%, 69.1%, 0%, 18.8%)
CIE-LABlab(36.95, 46.06, -72.70)
CIE-LCHlch(36.95, 86.07, 302.36°)
OKLaboklab(47.59% 0.0253 -0.2099)
OKLCHoklch(47.59% 0.211 276.9)
XYZxyz(15.6907, 9.5100, 60.0281)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740CF #C8CF40
analogous
#4080CF #4740CF #8E40CF
triadic
#4740CF #CF4740 #40CF47
tetradic
#4740CF #CF4080 #C8CF40 #40CF8E
square
#4740CF #CF4080 #C8CF40 #40CF8E
split-complementary
#4740CF #CF8E40 #80CF40
monochromatic
#221E77 #302AA8 #4740CF #7671DB #A5A2E8

Accessibility & contrast

On white

7.24
#4740CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4740CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740CF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740CF#FFFFFF#000000##FFFFFF
##4740CF1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#0051CC
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4740cf;
/* rgb */ color: rgb(71, 64, 207);
/* oklch */ color: oklch(47.6% 0.211 276.9);
Tailwind
colors: {
  custom: {
    50: '#8b76df',
    500: '#4740cf',
    950: '#000000',
  },
}
SCSS
$custom: #4740cf;
$custom-light: #8b76df;
$custom-dark: #000000;
JSON
{
  "hex": "#4740cf",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 242.937,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47593,
    "c": 0.21142,
    "h": 276.9
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#4740CF
secondary
#D1D497
accent
#E345DB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4740CF

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

Preview Lab → · Contrast checker → · Palette generator →

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