#4740CB#4740CB

#4740CB is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.2% C 0.206 H 277.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4740CB
RGBrgb(71, 64, 203)
HSLhsl(243, 57%, 52%)
HSVhsv(243, 68%, 80%)
CMYKcmyk(65%, 68.5%, 0%, 20.4%)
CIE-LABlab(36.59, 44.77, -70.98)
CIE-LCHlch(36.59, 83.92, 302.24°)
OKLaboklab(47.22% 0.0259 -0.2048)
OKLCHoklch(47.22% 0.206 277.2)
XYZxyz(15.2079, 9.3169, 57.4852)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740CB #C4CB40
analogous
#407ECB #4740CB #8D40CB
triadic
#4740CB #CB4740 #40CB47
tetradic
#4740CB #CB407E #C4CB40 #40CB8D
square
#4740CB #CB407E #C4CB40 #40CB8D
split-complementary
#4740CB #CB8D40 #7ECB40
monochromatic
#231F72 #322CA2 #4740CB #7570D8 #A4A0E5

Accessibility & contrast

On white

7.33
#4740CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4740CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740CB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740CB#FFFFFF#000000##FFFFFF
##4740CB1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4740cb;
/* rgb */ color: rgb(71, 64, 203);
/* oklch */ color: oklch(47.2% 0.206 277.2);
Tailwind
colors: {
  custom: {
    50: '#8a76dc',
    500: '#4740cb',
    950: '#000000',
  },
}
SCSS
$custom: #4740cb;
$custom-light: #8a76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4740cb",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 243.022,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47224,
    "c": 0.20648,
    "h": 277.2
  },
  "luminance": 0.09318
}

Semantic roles & 50–950 ramp

primary
#4740CB
secondary
#CFD295
accent
#E047D9
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4740CB

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

Preview Lab → · Contrast checker → · Palette generator →

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