#4131C7#4131C7

#4131C7 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.3% C 0.218 H 277.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4131C7
RGBrgb(65, 49, 199)
HSLhsl(246, 60%, 49%)
HSVhsv(246, 75%, 78%)
CMYKcmyk(67.3%, 75.4%, 0%, 22%)
CIE-LABlab(32.79, 51.09, -74.90)
CIE-LCHlch(32.79, 90.67, 304.30°)
OKLaboklab(44.3% 0.0283 -0.2164)
OKLCHoklch(44.3% 0.218 277.4)
XYZxyz(13.5837, 7.4428, 54.7425)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4131C7 #B7C731
analogous
#316CC7 #4131C7 #8C31C7
triadic
#4131C7 #C74131 #31C741
tetradic
#4131C7 #C7316C #B7C731 #31C78C
square
#4131C7 #C7316C #B7C731 #31C78C
split-complementary
#4131C7 #C78C31 #6CC731
monochromatic
#211965 #312596 #4131C7 #6B5ED7 #988FE3

Accessibility & contrast

On white

8.44
#4131C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4131C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4131C7
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4131C7#FFFFFF#000000##FFFFFF
##4131C71.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#0047C4
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4131c7;
/* rgb */ color: rgb(65, 49, 199);
/* oklch */ color: oklch(44.3% 0.218 277.4);
Tailwind
colors: {
  custom: {
    50: '#886cd9',
    500: '#4131c7',
    950: '#000000',
  },
}
SCSS
$custom: #4131c7;
$custom-light: #886cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4131c7",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 199
  },
  "hsl": {
    "h": 246.4,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44295,
    "c": 0.21825,
    "h": 277.4
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#4131C7
secondary
#C6CE86
accent
#E444D3
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4131C7

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

Preview Lab → · Contrast checker → · Palette generator →

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