#4734CB#4734CB

#4734CB is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.5% C 0.219 H 278.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4734CB
RGBrgb(71, 52, 203)
HSLhsl(248, 59%, 50%)
HSVhsv(248, 74%, 80%)
CMYKcmyk(65%, 74.4%, 0%, 20.4%)
CIE-LABlab(34.20, 51.40, -74.90)
CIE-LCHlch(34.20, 90.84, 304.46°)
OKLaboklab(45.52% 0.0337 -0.2163)
OKLCHoklch(45.52% 0.219 278.9)
XYZxyz(14.6026, 8.1062, 57.2835)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4734CB #B8CB34
analogous
#346CCB #4734CB #9334CB
triadic
#4734CB #CB4734 #34CB47
tetradic
#4734CB #CB346C #B8CB34 #34CB93
square
#4734CB #CB346C #B8CB34 #34CB93
split-complementary
#4734CB #CB9334 #6CCB34
monochromatic
#251B6A #36289A #4734CB #7365D7 #9F95E4

Accessibility & contrast

On white

8.01
#4734CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4734CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4734CB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4734CB#FFFFFF#000000##FFFFFF
##4734CB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CF
Deuteranopia (green-blind)
#004AC8
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4734cb;
/* rgb */ color: rgb(71, 52, 203);
/* oklch */ color: oklch(45.5% 0.219 278.9);
Tailwind
colors: {
  custom: {
    50: '#8b6edc',
    500: '#4734cb',
    950: '#000000',
  },
}
SCSS
$custom: #4734cb;
$custom-light: #8b6edc;
$custom-dark: #000000;
JSON
{
  "hex": "#4734cb",
  "rgb": {
    "r": 71,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 247.55,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.45524,
    "c": 0.21887,
    "h": 278.9
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#4734CB
secondary
#C7CF8C
accent
#E245CF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4734CB

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

Preview Lab → · Contrast checker → · Palette generator →

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