#4738E1#4738E1

#4738E1 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.2% C 0.241 H 276.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4738E1
RGBrgb(71, 56, 225)
HSLhsl(245, 74%, 55%)
HSVhsv(245, 75%, 88%)
CMYKcmyk(68.4%, 75.1%, 0%, 11.8%)
CIE-LABlab(37.12, 56.02, -82.77)
CIE-LCHlch(37.12, 99.95, 304.09°)
OKLaboklab(48.23% 0.0267 -0.2392)
OKLCHoklch(48.23% 0.241 276.4)
XYZxyz(17.5989, 9.6026, 72.1456)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4738E1 #D2E138
analogous
#387EE1 #4738E1 #9B38E1
triadic
#4738E1 #E14738 #38E147
tetradic
#4738E1 #E1387E #D2E138 #38E19B
square
#4738E1 #E1387E #D2E138 #38E19B
split-complementary
#4738E1 #E19B38 #7EE138
monochromatic
#1F158A #2B1DBF #4738E1 #786DE9 #A9A2F1

Accessibility & contrast

On white

7.19
#4738E1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4738E1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4738E1
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4738E1#FFFFFF#000000##FFFFFF
##4738E11.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE6
Deuteranopia (green-blind)
#0050DE
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4738e1;
/* rgb */ color: rgb(71, 56, 225);
/* oklch */ color: oklch(48.2% 0.241 276.4);
Tailwind
colors: {
  custom: {
    50: '#8f72ec',
    500: '#4738e1',
    950: '#000000',
  },
}
SCSS
$custom: #4738e1;
$custom-light: #8f72ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4738e1",
  "rgb": {
    "r": 71,
    "g": 56,
    "b": 225
  },
  "hsl": {
    "h": 245.325,
    "s": 73.799,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.24073,
    "h": 276.4
  },
  "luminance": 0.09604
}

Semantic roles & 50–950 ramp

primary
#4738E1
secondary
#D8DE97
accent
#F037E0
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4738E1

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

Preview Lab → · Contrast checker → · Palette generator →

#4738E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva