#4757D4#4757D4

#4757D4 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.191 H 272.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4757D4
RGBrgb(71, 87, 212)
HSLhsl(233, 62%, 55%)
HSVhsv(233, 67%, 83%)
CMYKcmyk(66.5%, 59%, 0%, 16.9%)
CIE-LABlab(42.62, 33.84, -66.30)
CIE-LCHlch(42.62, 74.44, 297.04°)
OKLaboklab(51.87% 0.0077 -0.191)
OKLCHoklch(51.87% 0.191 272.3)
XYZxyz(17.8864, 12.9078, 63.8234)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757D4 #D4C447
analogous
#479ED4 #4757D4 #7D47D4
triadic
#4757D4 #D44757 #57D447
tetradic
#4757D4 #D4479E #D4C447 #47D47D
square
#4757D4 #D4479E #D4C447 #47D47D
split-complementary
#4757D4 #D47D47 #9ED447
monochromatic
#1E2A82 #2A3AB4 #4757D4 #7984E0 #AAB2EB

Accessibility & contrast

On white

5.86
#4757D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4757D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757D4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757D4#FFFFFF#000000##FFFFFF
##4757D41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4757d4;
/* rgb */ color: rgb(71, 87, 212);
/* oklch */ color: oklch(51.9% 0.191 272.3);
Tailwind
colors: {
  custom: {
    50: '#8a86e2',
    500: '#4757d4',
    950: '#000000',
  },
}
SCSS
$custom: #4757d4;
$custom-light: #8a86e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4757d4",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 212
  },
  "hsl": {
    "h": 233.191,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.19119,
    "h": 272.3
  },
  "luminance": 0.12909
}

Semantic roles & 50–950 ramp

primary
#4757D4
secondary
#D9D29E
accent
#D343E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4757D4

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

Preview Lab → · Contrast checker → · Palette generator →

#4757D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva