#4132DA#4132DA

#4132DA is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.4% C 0.239 H 275.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4132DA
RGBrgb(65, 50, 218)
HSLhsl(245, 69%, 53%)
HSVhsv(245, 77%, 85%)
CMYKcmyk(70.2%, 77.1%, 0%, 14.5%)
CIE-LABlab(34.93, 56.37, -82.39)
CIE-LCHlch(34.93, 99.82, 304.38°)
OKLaboklab(46.38% 0.0234 -0.2382)
OKLCHoklch(46.38% 0.239 275.6)
XYZxyz(15.9713, 8.4655, 67.1084)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4132DA #CBDA32
analogous
#3277DA #4132DA #9532DA
triadic
#4132DA #DA4132 #32DA41
tetradic
#4132DA #DA3277 #CBDA32 #32DA95
square
#4132DA #DA3277 #CBDA32 #32DA95
split-complementary
#4132DA #DA9532 #77DA32
monochromatic
#1F167B #2C20AF #4132DA #7166E3 #A19AED

Accessibility & contrast

On white

7.80
#4132DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4132DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4132DA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4132DA#FFFFFF#000000##FFFFFF
##4132DA1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059DF
Deuteranopia (green-blind)
#004BD7
Tritanopia (blue-blind)
#006585
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4132da;
/* rgb */ color: rgb(65, 50, 218);
/* oklch */ color: oklch(46.4% 0.239 275.6);
Tailwind
colors: {
  custom: {
    50: '#8c6ee7',
    500: '#4132da',
    950: '#000000',
  },
}
SCSS
$custom: #4132da;
$custom-light: #8c6ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4132da",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 218
  },
  "hsl": {
    "h": 245.357,
    "s": 69.421,
    "l": 52.549
  },
  "oklch": {
    "l": 0.46379,
    "c": 0.23935,
    "h": 275.6
  },
  "luminance": 0.08467
}

Semantic roles & 50–950 ramp

primary
#4132DA
secondary
#D2D88F
accent
#EC3CDC
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4132DA

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

Preview Lab → · Contrast checker → · Palette generator →

#4132DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva