#4131C2#4131C2

#4131C2 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.8% C 0.212 H 278.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4131C2
RGBrgb(65, 49, 194)
HSLhsl(247, 60%, 48%)
HSVhsv(247, 75%, 76%)
CMYKcmyk(66.5%, 74.7%, 0%, 23.9%)
CIE-LABlab(32.29, 49.55, -72.81)
CIE-LCHlch(32.29, 88.07, 304.24°)
OKLaboklab(43.79% 0.0294 -0.2103)
OKLCHoklch(43.79% 0.212 278)
XYZxyz(13.0127, 7.2144, 51.7352)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4131C2 #B2C231
analogous
#3169C2 #4131C2 #8A31C2
triadic
#4131C2 #C24131 #31C241
tetradic
#4131C2 #C23169 #B2C231 #31C28A
square
#4131C2 #C23169 #B2C231 #31C28A
split-complementary
#4131C2 #C28A31 #69C231
monochromatic
#201860 #312591 #4131C2 #685BD6 #958CE2

Accessibility & contrast

On white

8.60
#4131C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4131C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4131C2
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4131C2#FFFFFF#000000##FFFFFF
##4131C21.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4131c2;
/* rgb */ color: rgb(65, 49, 194);
/* oklch */ color: oklch(43.8% 0.212 278.0);
Tailwind
colors: {
  custom: {
    50: '#876cd6',
    500: '#4131c2',
    950: '#000000',
  },
}
SCSS
$custom: #4131c2;
$custom-light: #876cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4131c2",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 246.621,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43789,
    "c": 0.21234,
    "h": 278
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#4131C2
secondary
#C4CC83
accent
#E345D1
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4131C2

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

Preview Lab → · Contrast checker → · Palette generator →

#4131C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva