#4740DD#4740DD

#4740DD is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.9% C 0.228 H 275.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4740DD
RGBrgb(71, 64, 221)
HSLhsl(243, 70%, 56%)
HSVhsv(243, 71%, 87%)
CMYKcmyk(67.9%, 71%, 0%, 13.3%)
CIE-LABlab(38.24, 50.52, -78.63)
CIE-LCHlch(38.24, 93.47, 302.72°)
OKLaboklab(48.91% 0.0231 -0.2272)
OKLCHoklch(48.91% 0.228 275.8)
XYZxyz(17.4788, 10.2252, 69.4451)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740DD #D6DD40
analogous
#4087DD #4740DD #9540DD
triadic
#4740DD #DD4740 #40DD47
tetradic
#4740DD #DD4087 #D6DD40 #40DD95
square
#4740DD #DD4087 #D6DD40 #40DD95
split-complementary
#4740DD #DD9540 #87DD40
monochromatic
#1E198A #2922BE #4740DD #7974E6 #ABA8EF

Accessibility & contrast

On white

6.90
#4740DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4740DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4740DD
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740DD#FFFFFF#000000##FFFFFF
##4740DD1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E2
Deuteranopia (green-blind)
#0053DA
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4740dd;
/* rgb */ color: rgb(71, 64, 221);
/* oklch */ color: oklch(48.9% 0.228 275.8);
Tailwind
colors: {
  custom: {
    50: '#8e77e9',
    500: '#4740dd',
    950: '#000000',
  },
}
SCSS
$custom: #4740dd;
$custom-light: #8e77e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4740dd",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 242.675,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.48913,
    "c": 0.2284,
    "h": 275.8
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

primary
#4740DD
secondary
#DADD9C
accent
#ED3BE5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4740DD

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

Preview Lab → · Contrast checker → · Palette generator →

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