#4147EA#4147EA

#4147EA is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.238 H 272.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4147EA
RGBrgb(65, 71, 234)
HSLhsl(238, 80%, 59%)
HSVhsv(238, 72%, 92%)
CMYKcmyk(72.2%, 69.7%, 0%, 8.2%)
CIE-LABlab(40.52, 50.15, -82.30)
CIE-LCHlch(40.52, 96.37, 301.36°)
OKLaboklab(50.82% 0.0104 -0.2381)
OKLCHoklch(50.82% 0.238 272.5)
XYZxyz(19.2795, 11.5688, 79.0429)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147EA #EAE441
analogous
#419BEA #4147EA #8F41EA
triadic
#4147EA #EA4147 #47EA41
tetradic
#4147EA #EA419B #EAE441 #41EA8F
square
#4147EA #EA419B #EAE441 #41EA8F
split-complementary
#4147EA #EA8F41 #9BEA41
monochromatic
#12179F #181ED6 #4147EA #787CF0 #AFB2F6

Accessibility & contrast

On white

6.34
#4147EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4147EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4147EA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147EA#FFFFFF#000000##FFFFFF
##4147EA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#0057E7
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4147ea;
/* rgb */ color: rgb(65, 71, 234);
/* oklch */ color: oklch(50.8% 0.238 272.5);
Tailwind
colors: {
  custom: {
    50: '#8d7bf2',
    500: '#4147ea',
    950: '#000000',
  },
}
SCSS
$custom: #4147ea;
$custom-light: #8d7bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4147ea",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 237.87,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.50816,
    "c": 0.23831,
    "h": 272.5
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#4147EA
secondary
#E5E2A2
accent
#F031F7
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4147EA

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

Preview Lab → · Contrast checker → · Palette generator →

#4147EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva