#4746CB#4746CB

#4746CB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.2% C 0.200 H 276.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4746CB
RGBrgb(71, 70, 203)
HSLhsl(240, 56%, 54%)
HSVhsv(240, 66%, 80%)
CMYKcmyk(65%, 65.5%, 0%, 20.4%)
CIE-LABlab(37.90, 41.24, -68.83)
CIE-LCHlch(37.90, 80.24, 300.93°)
OKLaboklab(48.17% 0.0215 -0.1986)
OKLCHoklch(48.17% 0.2 276.2)
XYZxyz(15.5647, 10.0304, 57.6042)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4746CB #CACB46
analogous
#4687CB #4746CB #8946CB
triadic
#4746CB #CB4746 #46CB47
tetradic
#4746CB #CB4687 #CACB46 #46CB89
square
#4746CB #CB4687 #CACB46 #46CB89
split-complementary
#4746CB #CB8946 #87CB46
monochromatic
#222176 #2F2EA5 #4746CB #7776D8 #A6A6E6

Accessibility & contrast

On white

6.99
#4746CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4746CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4746CB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4746CB#FFFFFF#000000##FFFFFF
##4746CB1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4746cb;
/* rgb */ color: rgb(71, 70, 203);
/* oklch */ color: oklch(48.2% 0.200 276.2);
Tailwind
colors: {
  custom: {
    50: '#8a7adc',
    500: '#4746cb',
    950: '#000000',
  },
}
SCSS
$custom: #4746cb;
$custom-light: #8a7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4746cb",
  "rgb": {
    "r": 71,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 240.451,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48171,
    "c": 0.19972,
    "h": 276.2
  },
  "luminance": 0.10032
}

Semantic roles & 50–950 ramp

primary
#4746CB
secondary
#D2D39A
accent
#DF48DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4746CB

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

Preview Lab → · Contrast checker → · Palette generator →

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