#4134D1#4134D1

#4134D1 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.7% C 0.227 H 276.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4134D1
RGBrgb(65, 52, 209)
HSLhsl(245, 63%, 51%)
HSVhsv(245, 75%, 82%)
CMYKcmyk(68.9%, 75.1%, 0%, 18%)
CIE-LABlab(34.36, 52.61, -78.14)
CIE-LCHlch(34.36, 94.20, 303.95°)
OKLaboklab(45.7% 0.0245 -0.2259)
OKLCHoklch(45.7% 0.227 276.2)
XYZxyz(14.9128, 8.1819, 61.1026)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4134D1 #C4D134
analogous
#3475D1 #4134D1 #8F34D1
triadic
#4134D1 #D14134 #34D141
tetradic
#4134D1 #D13475 #C4D134 #34D18F
square
#4134D1 #D13475 #C4D134 #34D18F
split-complementary
#4134D1 #D18F34 #75D134
monochromatic
#211A71 #2F25A3 #4134D1 #7066DC #9E98E8

Accessibility & contrast

On white

7.96
#4134D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4134D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4134D1
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4134D1#FFFFFF#000000##FFFFFF
##4134D11.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D5
Deuteranopia (green-blind)
#004ACE
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4134d1;
/* rgb */ color: rgb(65, 52, 209);
/* oklch */ color: oklch(45.7% 0.227 276.2);
Tailwind
colors: {
  custom: {
    50: '#8a6ee0',
    500: '#4134d1',
    950: '#000000',
  },
}
SCSS
$custom: #4134d1;
$custom-light: #8a6ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#4134d1",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 244.968,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.457,
    "c": 0.22719,
    "h": 276.2
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#4134D1
secondary
#CDD38E
accent
#E642D8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4134D1

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

Preview Lab → · Contrast checker → · Palette generator →

#4134D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva