#4131AA#4131AA

#4131AA is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.183 H 280.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4131AA
RGBrgb(65, 49, 170)
HSLhsl(248, 55%, 43%)
HSVhsv(248, 71%, 67%)
CMYKcmyk(61.8%, 71.2%, 0%, 33.3%)
CIE-LABlab(29.97, 42.03, -62.38)
CIE-LCHlch(29.97, 75.22, 303.97°)
OKLaboklab(41.44% 0.0343 -0.1798)
OKLCHoklch(41.44% 0.183 280.8)
XYZxyz(10.5317, 6.2220, 38.6684)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4131AA #9AAA31
analogous
#315DAA #4131AA #7D31AA
triadic
#4131AA #AA4131 #31AA41
tetradic
#4131AA #AA315D #9AAA31 #31AA7D
square
#4131AA #AA315D #9AAA31 #31AA7D
split-complementary
#4131AA #AA7D31 #5DAA31
monochromatic
#1D164B #2F237A #4131AA #5D4DCC #887CD9

Accessibility & contrast

On white

9.36
#4131AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4131AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4131AA#FFFFFF#000000##FFFFFF
##4131AA1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4131aa;
/* rgb */ color: rgb(65, 49, 170);
/* oklch */ color: oklch(41.4% 0.183 280.8);
Tailwind
colors: {
  custom: {
    50: '#826bc4',
    500: '#4131aa',
    950: '#000000',
  },
}
SCSS
$custom: #4131aa;
$custom-light: #826bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4131aa",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 247.934,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41438,
    "c": 0.18309,
    "h": 280.8
  },
  "luminance": 0.06223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4131AA

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

Preview Lab → · Contrast checker → · Palette generator →

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