#4757CF#4757CF

#4757CF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.185 H 272.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4757CF
RGBrgb(71, 87, 207)
HSLhsl(233, 59%, 55%)
HSVhsv(233, 66%, 81%)
CMYKcmyk(65.7%, 58%, 0%, 18.8%)
CIE-LABlab(42.25, 32.11, -64.05)
CIE-LCHlch(42.25, 71.65, 296.63°)
OKLaboklab(51.47% 0.0077 -0.1844)
OKLCHoklch(51.47% 0.185 272.4)
XYZxyz(17.2654, 12.6594, 60.5530)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757CF #CFBF47
analogous
#479BCF #4757CF #7B47CF
triadic
#4757CF #CF4757 #57CF47
tetradic
#4757CF #CF479B #CFBF47 #47CF7B
square
#4757CF #CF479B #CFBF47 #47CF7B
split-complementary
#4757CF #CF7B47 #9BCF47
monochromatic
#202B7B #2D3CAC #4757CF #7883DC #A8B0E8

Accessibility & contrast

On white

5.95
#4757CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4757CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757CF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757CF#FFFFFF#000000##FFFFFF
##4757CF1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4757cf;
/* rgb */ color: rgb(71, 87, 207);
/* oklch */ color: oklch(51.5% 0.185 272.4);
Tailwind
colors: {
  custom: {
    50: '#8986df',
    500: '#4757cf',
    950: '#000000',
  },
}
SCSS
$custom: #4757cf;
$custom-light: #8986df;
$custom-dark: #000000;
JSON
{
  "hex": "#4757cf",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 232.941,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.18455,
    "h": 272.4
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#4757CF
secondary
#D6CF9C
accent
#CF46E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4757CF

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

Preview Lab → · Contrast checker → · Palette generator →

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