#4131C8#4131C8

#4131C8 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.4% C 0.219 H 277.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4131C8
RGBrgb(65, 49, 200)
HSLhsl(246, 61%, 49%)
HSVhsv(246, 76%, 78%)
CMYKcmyk(67.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(32.90, 51.40, -75.32)
CIE-LCHlch(32.90, 91.19, 304.31°)
OKLaboklab(44.4% 0.028 -0.2176)
OKLCHoklch(44.4% 0.219 277.3)
XYZxyz(13.7002, 7.4894, 55.3560)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4131C8 #B8C831
analogous
#316CC8 #4131C8 #8D31C8
triadic
#4131C8 #C84131 #31C841
tetradic
#4131C8 #C8316C #B8C831 #31C88D
square
#4131C8 #C8316C #B8C831 #31C88D
split-complementary
#4131C8 #C88D31 #6CC831
monochromatic
#211966 #312597 #4131C8 #6B5FD8 #9990E4

Accessibility & contrast

On white

8.41
#4131C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4131C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4131C8#FFFFFF#000000##FFFFFF
##4131C81.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CC
Deuteranopia (green-blind)
#0047C5
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4131c8;
/* rgb */ color: rgb(65, 49, 200);
/* oklch */ color: oklch(44.4% 0.219 277.3);
Tailwind
colors: {
  custom: {
    50: '#886cda',
    500: '#4131c8',
    950: '#000000',
  },
}
SCSS
$custom: #4131c8;
$custom-light: #886cda;
$custom-dark: #000000;
JSON
{
  "hex": "#4131c8",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 246.358,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44397,
    "c": 0.21943,
    "h": 277.3
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#4131C8
secondary
#C7CE86
accent
#E444D3
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4131C8

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

Preview Lab → · Contrast checker → · Palette generator →

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