#4731BE#4731BE

#4731BE is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.9% C 0.206 H 280.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#4731BE
RGBrgb(71, 49, 190)
HSLhsl(249, 59%, 47%)
HSVhsv(249, 74%, 75%)
CMYKcmyk(62.6%, 74.2%, 0%, 25.5%)
CIE-LABlab(32.38, 49.02, -70.30)
CIE-LCHlch(32.38, 85.70, 304.89°)
OKLaboklab(43.85% 0.0385 -0.2028)
OKLCHoklch(43.85% 0.206 280.8)
XYZxyz(12.9882, 7.2529, 49.4207)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4731BE #A8BE31
analogous
#3161BE #4731BE #8E31BE
triadic
#4731BE #BE4731 #31BE47
tetradic
#4731BE #BE3161 #A8BE31 #31BE8E
square
#4731BE #BE3161 #A8BE31 #31BE8E
split-complementary
#4731BE #BE8E31 #61BE31
monochromatic
#23185D #35248D #4731BE #6C58D4 #9789E1

Accessibility & contrast

On white

8.57
#4731BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4731BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4731BE
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4731BE#FFFFFF#000000##FFFFFF
##4731BE1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0047BB
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4731be;
/* rgb */ color: rgb(71, 49, 190);
/* oklch */ color: oklch(43.9% 0.206 280.8);
Tailwind
colors: {
  custom: {
    50: '#896cd3',
    500: '#4731be',
    950: '#000000',
  },
}
SCSS
$custom: #4731be;
$custom-light: #896cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4731be",
  "rgb": {
    "r": 71,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 249.362,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43853,
    "c": 0.20643,
    "h": 280.8
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#4731BE
secondary
#BFCA80
accent
#E246CA
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4731BE

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

Preview Lab → · Contrast checker → · Palette generator →

#4731BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva