#4757AF#4757AF

#4757AF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.1% C 0.140 H 272.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4757AF
RGBrgb(71, 87, 175)
HSLhsl(231, 42%, 48%)
HSVhsv(231, 59%, 69%)
CMYKcmyk(59.4%, 50.3%, 0%, 31.4%)
CIE-LABlab(40.00, 21.05, -49.03)
CIE-LCHlch(40.00, 53.36, 293.24°)
OKLaboklab(49.07% 0.006 -0.1402)
OKLCHoklch(49.07% 0.14 272.5)
XYZxyz(13.7420, 11.2501, 41.9964)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757AF #AF9F47
analogous
#478BAF #4757AF #6B47AF
triadic
#4757AF #AF4757 #57AF47
tetradic
#4757AF #AF478B #AF9F47 #47AF6B
square
#4757AF #AF478B #AF9F47 #47AF6B
split-complementary
#4757AF #AF6B47 #8BAF47
monochromatic
#242C58 #354183 #4757AF #6F7CC4 #9AA3D6

Accessibility & contrast

On white

6.46
#4757AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4757AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757AF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757AF#FFFFFF#000000##FFFFFF
##4757AF1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#155AAD
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4757af;
/* rgb */ color: rgb(71, 87, 175);
/* oklch */ color: oklch(49.1% 0.140 272.5);
Tailwind
colors: {
  custom: {
    50: '#8386c7',
    500: '#4757af',
    950: '#000000',
  },
}
SCSS
$custom: #4757af;
$custom-light: #8386c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4757af",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 230.769,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4907,
    "c": 0.14036,
    "h": 272.5
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#4757AF
secondary
#C2BB8F
accent
#BF56D2
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4757AF

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

Preview Lab → · Contrast checker → · Palette generator →

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