#4748CA#4748CA

#4748CA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.196 H 275.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4748CA
RGBrgb(71, 72, 202)
HSLhsl(240, 55%, 54%)
HSVhsv(240, 65%, 79%)
CMYKcmyk(64.9%, 64.4%, 0%, 20.8%)
CIE-LABlab(38.27, 39.70, -67.65)
CIE-LCHlch(38.27, 78.44, 300.41°)
OKLaboklab(48.41% 0.0201 -0.1951)
OKLCHoklch(48.41% 0.196 275.9)
XYZxyz(15.5731, 10.2373, 57.0210)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4748CA #CAC947
analogous
#4789CA #4748CA #8747CA
triadic
#4748CA #CA4748 #48CA47
tetradic
#4748CA #CA4789 #CAC947 #47CA87
square
#4748CA #CA4789 #CAC947 #47CA87
split-complementary
#4748CA #CA8747 #89CA47
monochromatic
#222275 #2F30A4 #4748CA #7777D8 #A6A7E5

Accessibility & contrast

On white

6.89
#4748CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4748CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4748CA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4748CA#FFFFFF#000000##FFFFFF
##4748CA1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4748ca;
/* rgb */ color: rgb(71, 72, 202);
/* oklch */ color: oklch(48.4% 0.196 275.9);
Tailwind
colors: {
  custom: {
    50: '#897bdb',
    500: '#4748ca',
    950: '#000000',
  },
}
SCSS
$custom: #4748ca;
$custom-light: #897bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4748ca",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 239.542,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.19611,
    "h": 275.9
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

primary
#4748CA
secondary
#D2D29A
accent
#DD49DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4748CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4748CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva