#4131AB#4131AB

#4131AB is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.184 H 280.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#4131AB
RGBrgb(65, 49, 171)
HSLhsl(248, 55%, 43%)
HSVhsv(248, 71%, 67%)
CMYKcmyk(62%, 71.3%, 0%, 32.9%)
CIE-LABlab(30.06, 42.34, -62.83)
CIE-LCHlch(30.06, 75.77, 303.98°)
OKLaboklab(41.53% 0.0341 -0.1811)
OKLCHoklch(41.53% 0.184 280.7)
XYZxyz(10.6267, 6.2599, 39.1685)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4131AB #9BAB31
analogous
#315EAB #4131AB #7E31AB
triadic
#4131AB #AB4131 #31AB41
tetradic
#4131AB #AB315E #9BAB31 #31AB7E
square
#4131AB #AB315E #9BAB31 #31AB7E
split-complementary
#4131AB #AB7E31 #5EAB31
monochromatic
#1D164C #2F237B #4131AB #5E4DCC #897DDA

Accessibility & contrast

On white

9.32
#4131AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4131AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4131AB
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4131AB#FFFFFF#000000##FFFFFF
##4131AB1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4131ab;
/* rgb */ color: rgb(65, 49, 171);
/* oklch */ color: oklch(41.5% 0.184 280.7);
Tailwind
colors: {
  custom: {
    50: '#826bc5',
    500: '#4131ab',
    950: '#000000',
  },
}
SCSS
$custom: #4131ab;
$custom-light: #826bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4131ab",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 247.869,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41533,
    "c": 0.18434,
    "h": 280.7
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#4131AB
secondary
#B8C275
accent
#DF49CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4131AB

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

Preview Lab → · Contrast checker → · Palette generator →

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