#4131B9#4131B9

#4131B9 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.9% C 0.202 H 278.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#4131B9
RGBrgb(65, 49, 185)
HSLhsl(247, 58%, 46%)
HSVhsv(247, 74%, 73%)
CMYKcmyk(64.9%, 73.5%, 0%, 27.5%)
CIE-LABlab(31.40, 46.75, -68.97)
CIE-LCHlch(31.40, 83.32, 304.13°)
OKLaboklab(42.89% 0.0314 -0.1991)
OKLCHoklch(42.89% 0.202 278.9)
XYZxyz(12.0324, 6.8223, 46.5723)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4131B9 #A9B931
analogous
#3165B9 #4131B9 #8531B9
triadic
#4131B9 #B94131 #31B941
tetradic
#4131B9 #B93165 #A9B931 #31B985
square
#4131B9 #B93165 #A9B931 #31B985
split-complementary
#4131B9 #B98531 #65B931
monochromatic
#1F1758 #302489 #4131B9 #6455D2 #9086DF

Accessibility & contrast

On white

8.88
#4131B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4131B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4131B9
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4131B9#FFFFFF#000000##FFFFFF
##4131B91.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4131b9;
/* rgb */ color: rgb(65, 49, 185);
/* oklch */ color: oklch(42.9% 0.202 278.9);
Tailwind
colors: {
  custom: {
    50: '#856bcf',
    500: '#4131b9',
    950: '#000000',
  },
}
SCSS
$custom: #4131b9;
$custom-light: #856bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4131b9",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 247.059,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42892,
    "c": 0.20155,
    "h": 278.9
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#4131B9
secondary
#C0C87D
accent
#E146CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4131B9

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

Preview Lab → · Contrast checker → · Palette generator →

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