#4131B2#4131B2

#4131B2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.2% C 0.193 H 279.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#4131B2
RGBrgb(65, 49, 178)
HSLhsl(247, 57%, 45%)
HSVhsv(247, 72%, 70%)
CMYKcmyk(63.5%, 72.5%, 0%, 30.2%)
CIE-LABlab(30.72, 44.56, -65.93)
CIE-LCHlch(30.72, 79.57, 304.05°)
OKLaboklab(42.21% 0.0328 -0.1902)
OKLCHoklch(42.21% 0.193 279.8)
XYZxyz(11.3116, 6.5339, 42.7759)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4131B2 #A2B231
analogous
#3162B2 #4131B2 #8231B2
triadic
#4131B2 #B24131 #31B241
tetradic
#4131B2 #B23162 #A2B231 #31B282
square
#4131B2 #B23162 #A2B231 #31B282
split-complementary
#4131B2 #B28231 #62B231
monochromatic
#1E1752 #2F2482 #4131B2 #6151CF #8C81DC

Accessibility & contrast

On white

9.10
#4131B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4131B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4131B2#FFFFFF#000000##FFFFFF
##4131B21.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4131b2;
/* rgb */ color: rgb(65, 49, 178);
/* oklch */ color: oklch(42.2% 0.193 279.8);
Tailwind
colors: {
  custom: {
    50: '#846bca',
    500: '#4131b2',
    950: '#000000',
  },
}
SCSS
$custom: #4131b2;
$custom-light: #846bca;
$custom-dark: #000000;
JSON
{
  "hex": "#4131b2",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 247.442,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42206,
    "c": 0.19302,
    "h": 279.8
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#4131B2
secondary
#BCC579
accent
#E048CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4131B2

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

Preview Lab → · Contrast checker → · Palette generator →

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