#4131BA#4131BA

#4131BA is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.0% C 0.203 H 278.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4131BA
RGBrgb(65, 49, 186)
HSLhsl(247, 58%, 46%)
HSVhsv(247, 74%, 73%)
CMYKcmyk(65.1%, 73.7%, 0%, 27.1%)
CIE-LABlab(31.50, 47.07, -69.40)
CIE-LCHlch(31.50, 83.85, 304.15°)
OKLaboklab(42.99% 0.0311 -0.2004)
OKLCHoklch(42.99% 0.203 278.8)
XYZxyz(12.1384, 6.8646, 47.1302)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4131BA #AABA31
analogous
#3165BA #4131BA #8531BA
triadic
#4131BA #BA4131 #31BA41
tetradic
#4131BA #BA3165 #AABA31 #31BA85
square
#4131BA #BA3165 #AABA31 #31BA85
split-complementary
#4131BA #BA8531 #65BA31
monochromatic
#1F1759 #30248A #4131BA #6456D2 #9186DF

Accessibility & contrast

On white

8.85
#4131BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4131BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4131BA
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4131BA#FFFFFF#000000##FFFFFF
##4131BA1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0045B8
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4131ba;
/* rgb */ color: rgb(65, 49, 186);
/* oklch */ color: oklch(43.0% 0.203 278.8);
Tailwind
colors: {
  custom: {
    50: '#856cd0',
    500: '#4131ba',
    950: '#000000',
  },
}
SCSS
$custom: #4131ba;
$custom-light: #856cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4131ba",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 247.007,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4299,
    "c": 0.20276,
    "h": 278.8
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#4131BA
secondary
#C0C97E
accent
#E246CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4131BA

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

Preview Lab → · Contrast checker → · Palette generator →

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