#4131B3#4131B3

#4131B3 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.3% C 0.194 H 279.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4131B3
RGBrgb(65, 49, 179)
HSLhsl(247, 57%, 45%)
HSVhsv(247, 73%, 70%)
CMYKcmyk(63.7%, 72.6%, 0%, 29.8%)
CIE-LABlab(30.82, 44.87, -66.36)
CIE-LCHlch(30.82, 80.11, 304.06°)
OKLaboklab(42.3% 0.0326 -0.1915)
OKLCHoklch(42.3% 0.194 279.7)
XYZxyz(11.4124, 6.5742, 43.3066)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4131B3 #A3B331
analogous
#3162B3 #4131B3 #8231B3
triadic
#4131B3 #B34131 #31B341
tetradic
#4131B3 #B33162 #A3B331 #31B382
square
#4131B3 #B33162 #A3B331 #31B382
split-complementary
#4131B3 #B38231 #62B331
monochromatic
#1E1753 #302483 #4131B3 #6152D0 #8D82DD

Accessibility & contrast

On white

9.07
#4131B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4131B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4131B3
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4131B3#FFFFFF#000000##FFFFFF
##4131B31.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4131b3;
/* rgb */ color: rgb(65, 49, 179);
/* oklch */ color: oklch(42.3% 0.194 279.7);
Tailwind
colors: {
  custom: {
    50: '#846bcb',
    500: '#4131b3',
    950: '#000000',
  },
}
SCSS
$custom: #4131b3;
$custom-light: #846bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4131b3",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 247.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42303,
    "c": 0.19424,
    "h": 279.7
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#4131B3
secondary
#BDC67A
accent
#E048CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4131B3

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

Preview Lab → · Contrast checker → · Palette generator →

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