#4141BF#4141BF

#4141BF is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.9% C 0.192 H 275.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4141BF
RGBrgb(65, 65, 191)
HSLhsl(240, 50%, 50%)
HSVhsv(240, 66%, 75%)
CMYKcmyk(66%, 66%, 0%, 25.1%)
CIE-LABlab(35.33, 39.44, -66.05)
CIE-LCHlch(35.33, 76.93, 300.84°)
OKLaboklab(45.88% 0.0193 -0.1906)
OKLCHoklch(45.88% 0.192 275.8)
XYZxyz(13.4712, 8.6648, 50.2427)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4141BF #BFBF41
analogous
#4180BF #4141BF #8041BF
triadic
#4141BF #BF4141 #41BF41
tetradic
#4141BF #BF4180 #BFBF41 #41BF80
square
#4141BF #BF4180 #BFBF41 #41BF80
split-complementary
#4141BF #BF8041 #80BF41
monochromatic
#222264 #313192 #4141BF #6F6FCE #9D9DDE

Accessibility & contrast

On white

7.68
#4141BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4141BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4141BF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4141BF#FFFFFF#000000##FFFFFF
##4141BF1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4141bf;
/* rgb */ color: rgb(65, 65, 191);
/* oklch */ color: oklch(45.9% 0.192 275.8);
Tailwind
colors: {
  custom: {
    50: '#8576d3',
    500: '#4141bf',
    950: '#000000',
  },
}
SCSS
$custom: #4141bf;
$custom-light: #8576d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4141bf",
  "rgb": {
    "r": 65,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 240,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45883,
    "c": 0.19155,
    "h": 275.8
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#4141BF
secondary
#CACA92
accent
#D94FD9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4141BF

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

Preview Lab → · Contrast checker → · Palette generator →

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