#4149EA#4149EA

#4149EA is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.1% C 0.236 H 272.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4149EA
RGBrgb(65, 73, 234)
HSLhsl(237, 80%, 59%)
HSVhsv(237, 72%, 92%)
CMYKcmyk(72.2%, 68.8%, 0%, 8.2%)
CIE-LABlab(40.94, 49.00, -81.61)
CIE-LCHlch(40.94, 95.19, 300.98°)
OKLaboklab(51.12% 0.0093 -0.2361)
OKLCHoklch(51.12% 0.236 272.3)
XYZxyz(19.4088, 11.8274, 79.0860)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4149EA #EAE241
analogous
#419DEA #4149EA #8D41EA
triadic
#4149EA #EA4149 #49EA41
tetradic
#4149EA #EA419D #EAE241 #41EA8D
square
#4149EA #EA419D #EAE241 #41EA8D
split-complementary
#4149EA #EA8D41 #9DEA41
monochromatic
#12189F #1821D6 #4149EA #787EF0 #AFB3F6

Accessibility & contrast

On white

6.24
#4149EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4149EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4149EA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4149EA#FFFFFF#000000##FFFFFF
##4149EA1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EF
Deuteranopia (green-blind)
#0058E7
Tritanopia (blue-blind)
#007594
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4149ea;
/* rgb */ color: rgb(65, 73, 234);
/* oklch */ color: oklch(51.1% 0.236 272.3);
Tailwind
colors: {
  custom: {
    50: '#8d7df2',
    500: '#4149ea',
    950: '#000000',
  },
}
SCSS
$custom: #4149ea;
$custom-light: #8d7df2;
$custom-dark: #000000;
JSON
{
  "hex": "#4149ea",
  "rgb": {
    "r": 65,
    "g": 73,
    "b": 234
  },
  "hsl": {
    "h": 237.16,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.23625,
    "h": 272.3
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#4149EA
secondary
#E5E2A2
accent
#ED31F7
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4149EA

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

Preview Lab → · Contrast checker → · Palette generator →

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