#4131B8#4131B8

#4131B8 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.8% C 0.200 H 279.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4131B8
RGBrgb(65, 49, 184)
HSLhsl(247, 58%, 46%)
HSVhsv(247, 73%, 72%)
CMYKcmyk(64.7%, 73.4%, 0%, 27.8%)
CIE-LABlab(31.30, 46.44, -68.54)
CIE-LCHlch(31.30, 82.79, 304.12°)
OKLaboklab(42.79% 0.0316 -0.1978)
OKLCHoklch(42.79% 0.2 279.1)
XYZxyz(11.9272, 6.7802, 46.0183)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4131B8 #A8B831
analogous
#3164B8 #4131B8 #8431B8
triadic
#4131B8 #B84131 #31B841
tetradic
#4131B8 #B83164 #A8B831 #31B884
square
#4131B8 #B83164 #A8B831 #31B884
split-complementary
#4131B8 #B88431 #64B831
monochromatic
#1F1757 #302488 #4131B8 #6355D2 #9085DE

Accessibility & contrast

On white

8.91
#4131B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4131B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4131B8#FFFFFF#000000##FFFFFF
##4131B81.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4131b8;
/* rgb */ color: rgb(65, 49, 184);
/* oklch */ color: oklch(42.8% 0.200 279.1);
Tailwind
colors: {
  custom: {
    50: '#856bcf',
    500: '#4131b8',
    950: '#000000',
  },
}
SCSS
$custom: #4131b8;
$custom-light: #856bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4131b8",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 247.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42793,
    "c": 0.20034,
    "h": 279.1
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#4131B8
secondary
#BFC87D
accent
#E147CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4131B8

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

Preview Lab → · Contrast checker → · Palette generator →

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