#4740DF#4740DF

#4740DF is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.1% C 0.231 H 275.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4740DF
RGBrgb(71, 64, 223)
HSLhsl(243, 71%, 56%)
HSVhsv(243, 71%, 87%)
CMYKcmyk(68.2%, 71.3%, 0%, 12.5%)
CIE-LABlab(38.43, 51.16, -79.47)
CIE-LCHlch(38.43, 94.51, 302.77°)
OKLaboklab(49.11% 0.0228 -0.2297)
OKLCHoklch(49.11% 0.231 275.7)
XYZxyz(17.7468, 10.3325, 70.8568)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740DF #D8DF40
analogous
#4089DF #4740DF #9740DF
triadic
#4740DF #DF4740 #40DF47
tetradic
#4740DF #DF4089 #D8DF40 #40DF97
square
#4740DF #DF4089 #D8DF40 #40DF97
split-complementary
#4740DF #DF9740 #89DF40
monochromatic
#1D188D #2720C1 #4740DF #7A74E8 #ACA9F1

Accessibility & contrast

On white

6.85
#4740DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4740DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4740DF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740DF#FFFFFF#000000##FFFFFF
##4740DF1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E4
Deuteranopia (green-blind)
#0053DC
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4740df;
/* rgb */ color: rgb(71, 64, 223);
/* oklch */ color: oklch(49.1% 0.231 275.7);
Tailwind
colors: {
  custom: {
    50: '#8e77ea',
    500: '#4740df',
    950: '#000000',
  },
}
SCSS
$custom: #4740df;
$custom-light: #8e77ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4740df",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 223
  },
  "hsl": {
    "h": 242.642,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49105,
    "c": 0.23079,
    "h": 275.7
  },
  "luminance": 0.10334
}

Semantic roles & 50–950 ramp

primary
#4740DF
secondary
#DBDE9D
accent
#EE3AE6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4740DF

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

Preview Lab → · Contrast checker → · Palette generator →

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