#4131B7#4131B7

#4131B7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.7% C 0.199 H 279.2°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4131B7
RGBrgb(65, 49, 183)
HSLhsl(247, 58%, 45%)
HSVhsv(247, 73%, 72%)
CMYKcmyk(64.5%, 73.2%, 0%, 28.2%)
CIE-LABlab(31.20, 46.13, -68.10)
CIE-LCHlch(31.20, 82.26, 304.11°)
OKLaboklab(42.69% 0.0318 -0.1966)
OKLCHoklch(42.69% 0.199 279.2)
XYZxyz(11.8228, 6.7384, 45.4682)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4131B7 #A7B731
analogous
#3164B7 #4131B7 #8431B7
triadic
#4131B7 #B74131 #31B741
tetradic
#4131B7 #B73164 #A7B731 #31B784
square
#4131B7 #B73164 #A7B731 #31B784
split-complementary
#4131B7 #B78431 #64B731
monochromatic
#1F1756 #302487 #4131B7 #6354D1 #8F84DE

Accessibility & contrast

On white

8.94
#4131B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4131B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4131B7
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4131B7#FFFFFF#000000##FFFFFF
##4131B71.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4131b7;
/* rgb */ color: rgb(65, 49, 183);
/* oklch */ color: oklch(42.7% 0.199 279.2);
Tailwind
colors: {
  custom: {
    50: '#856bce',
    500: '#4131b7',
    950: '#000000',
  },
}
SCSS
$custom: #4131b7;
$custom-light: #856bce;
$custom-dark: #000000;
JSON
{
  "hex": "#4131b7",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 247.164,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42694,
    "c": 0.19913,
    "h": 279.2
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#4131B7
secondary
#BFC87C
accent
#E147CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4131B7

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

Preview Lab → · Contrast checker → · Palette generator →

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