#4132B2#4132B2

#4132B2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.3% C 0.192 H 279.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#4132B2
RGBrgb(65, 50, 178)
HSLhsl(247, 56%, 45%)
HSVhsv(247, 72%, 70%)
CMYKcmyk(63.5%, 71.9%, 0%, 30.2%)
CIE-LABlab(30.92, 44.00, -65.60)
CIE-LCHlch(30.92, 78.98, 303.85°)
OKLaboklab(42.35% 0.0321 -0.1892)
OKLCHoklch(42.35% 0.192 279.6)
XYZxyz(11.3539, 6.6185, 42.7900)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4132B2 #A3B232
analogous
#3263B2 #4132B2 #8132B2
triadic
#4132B2 #B24132 #32B241
tetradic
#4132B2 #B23263 #A3B232 #32B281
square
#4132B2 #B23263 #A3B232 #32B281
split-complementary
#4132B2 #B28132 #63B232
monochromatic
#1E1752 #302582 #4132B2 #6153CF #8D82DC

Accessibility & contrast

On white

9.04
#4132B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4132B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4132B2
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4132B2#FFFFFF#000000##FFFFFF
##4132B21.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4132b2;
/* rgb */ color: rgb(65, 50, 178);
/* oklch */ color: oklch(42.3% 0.192 279.6);
Tailwind
colors: {
  custom: {
    50: '#846cca',
    500: '#4132b2',
    950: '#000000',
  },
}
SCSS
$custom: #4132b2;
$custom-light: #846cca;
$custom-dark: #000000;
JSON
{
  "hex": "#4132b2",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 247.031,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42349,
    "c": 0.19195,
    "h": 279.6
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#4132B2
secondary
#BDC57B
accent
#DF48CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4132B2

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

Preview Lab → · Contrast checker → · Palette generator →

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