#4131A2#4131A2

#4131A2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.173 H 281.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#4131A2
RGBrgb(65, 49, 162)
HSLhsl(248, 54%, 41%)
HSVhsv(248, 70%, 64%)
CMYKcmyk(59.9%, 69.8%, 0%, 36.5%)
CIE-LABlab(29.23, 39.48, -58.76)
CIE-LCHlch(29.23, 70.79, 303.90°)
OKLaboklab(40.69% 0.0357 -0.1692)
OKLCHoklch(40.69% 0.173 281.9)
XYZxyz(9.7978, 5.9284, 34.8034)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4131A2 #92A231
analogous
#315AA2 #4131A2 #7A31A2
triadic
#4131A2 #A24131 #31A241
tetradic
#4131A2 #A2315A #92A231 #31A27A
square
#4131A2 #A2315A #92A231 #31A27A
split-complementary
#4131A2 #A27A31 #5AA231
monochromatic
#1B1544 #2E2373 #4131A2 #5A48C8 #8577D6

Accessibility & contrast

On white

9.61
#4131A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4131A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4131A2#FFFFFF#000000##FFFFFF
##4131A21.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4131a2;
/* rgb */ color: rgb(65, 49, 162);
/* oklch */ color: oklch(40.7% 0.173 281.9);
Tailwind
colors: {
  custom: {
    50: '#816bbf',
    500: '#4131a2',
    950: '#000000',
  },
}
SCSS
$custom: #4131a2;
$custom-light: #816bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4131a2",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 248.496,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40687,
    "c": 0.17297,
    "h": 281.9
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#4131A2
secondary
#B3BE71
accent
#DD4BC8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4131A2

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

Preview Lab → · Contrast checker → · Palette generator →

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