#4131B5#4131B5

#4131B5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.5% C 0.197 H 279.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#4131B5
RGBrgb(65, 49, 181)
HSLhsl(247, 57%, 45%)
HSVhsv(247, 73%, 71%)
CMYKcmyk(64.1%, 72.9%, 0%, 29%)
CIE-LABlab(31.01, 45.50, -67.24)
CIE-LCHlch(31.01, 81.18, 304.09°)
OKLaboklab(42.5% 0.0322 -0.194)
OKLCHoklch(42.5% 0.197 279.4)
XYZxyz(11.6161, 6.6557, 44.3796)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4131B5 #A5B531
analogous
#3163B5 #4131B5 #8331B5
triadic
#4131B5 #B54131 #31B541
tetradic
#4131B5 #B53163 #A5B531 #31B583
square
#4131B5 #B53163 #A5B531 #31B583
split-complementary
#4131B5 #B58331 #63B531
monochromatic
#1E1755 #302485 #4131B5 #6253D0 #8E83DD

Accessibility & contrast

On white

9.01
#4131B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4131B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4131B5
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4131B5#FFFFFF#000000##FFFFFF
##4131B51.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4131b5;
/* rgb */ color: rgb(65, 49, 181);
/* oklch */ color: oklch(42.5% 0.197 279.4);
Tailwind
colors: {
  custom: {
    50: '#846bcc',
    500: '#4131b5',
    950: '#000000',
  },
}
SCSS
$custom: #4131b5;
$custom-light: #846bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4131b5",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 247.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42498,
    "c": 0.19669,
    "h": 279.4
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#4131B5
secondary
#BEC77B
accent
#E147CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4131B5

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

Preview Lab → · Contrast checker → · Palette generator →

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