#4740DB#4740DB

#4740DB is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.7% C 0.226 H 276.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4740DB
RGBrgb(71, 64, 219)
HSLhsl(243, 68%, 55%)
HSVhsv(243, 71%, 86%)
CMYKcmyk(67.6%, 70.8%, 0%, 14.1%)
CIE-LABlab(38.06, 49.89, -77.80)
CIE-LCHlch(38.06, 92.42, 302.67°)
OKLaboklab(48.72% 0.0234 -0.2248)
OKLCHoklch(48.72% 0.226 276)
XYZxyz(17.2139, 10.1193, 68.0502)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740DB #D4DB40
analogous
#4086DB #4740DB #9540DB
triadic
#4740DB #DB4740 #40DB47
tetradic
#4740DB #DB4086 #D4DB40 #40DB95
square
#4740DB #DB4086 #D4DB40 #40DB95
split-complementary
#4740DB #DB9540 #86DB40
monochromatic
#1E1987 #2A23BB #4740DB #7973E5 #AAA7EE

Accessibility & contrast

On white

6.94
#4740DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4740DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4740DB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740DB#FFFFFF#000000##FFFFFF
##4740DB1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E0
Deuteranopia (green-blind)
#0053D8
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4740db;
/* rgb */ color: rgb(71, 64, 219);
/* oklch */ color: oklch(48.7% 0.226 276.0);
Tailwind
colors: {
  custom: {
    50: '#8d76e7',
    500: '#4740db',
    950: '#000000',
  },
}
SCSS
$custom: #4740db;
$custom-light: #8d76e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4740db",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 219
  },
  "hsl": {
    "h": 242.71,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.48722,
    "c": 0.22601,
    "h": 276
  },
  "luminance": 0.10121
}

Semantic roles & 50–950 ramp

primary
#4740DB
secondary
#D9DC9B
accent
#EB3DE3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4740DB

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

Preview Lab → · Contrast checker → · Palette generator →

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