#4131BF#4131BF

#4131BF is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.5% C 0.209 H 278.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4131BF
RGBrgb(65, 49, 191)
HSLhsl(247, 59%, 47%)
HSVhsv(247, 74%, 75%)
CMYKcmyk(66%, 74.3%, 0%, 25.1%)
CIE-LABlab(31.99, 48.62, -71.54)
CIE-LCHlch(31.99, 86.50, 304.20°)
OKLaboklab(43.49% 0.0301 -0.2066)
OKLCHoklch(43.49% 0.209 278.3)
XYZxyz(12.6792, 7.0810, 49.9787)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4131BF #AFBF31
analogous
#3168BF #4131BF #8831BF
triadic
#4131BF #BF4131 #31BF41
tetradic
#4131BF #BF3168 #AFBF31 #31BF88
square
#4131BF #BF3168 #AFBF31 #31BF88
split-complementary
#4131BF #BF8831 #68BF31
monochromatic
#20185E #30258E #4131BF #6759D4 #938AE1

Accessibility & contrast

On white

8.69
#4131BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4131BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4131BF#FFFFFF#000000##FFFFFF
##4131BF1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0045BC
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4131bf;
/* rgb */ color: rgb(65, 49, 191);
/* oklch */ color: oklch(43.5% 0.209 278.3);
Tailwind
colors: {
  custom: {
    50: '#866cd4',
    500: '#4131bf',
    950: '#000000',
  },
}
SCSS
$custom: #4131bf;
$custom-light: #866cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4131bf",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 246.761,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43488,
    "c": 0.20877,
    "h": 278.3
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#4131BF
secondary
#C2CB81
accent
#E245D1
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4131BF

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

Preview Lab → · Contrast checker → · Palette generator →

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