#4141BA#4141BA

#4141BA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.4% C 0.185 H 276.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4141BA
RGBrgb(65, 65, 186)
HSLhsl(240, 48%, 49%)
HSVhsv(240, 65%, 73%)
CMYKcmyk(65.1%, 65.1%, 0%, 27.1%)
CIE-LABlab(34.90, 37.76, -63.81)
CIE-LCHlch(34.90, 74.15, 300.61°)
OKLaboklab(45.44% 0.0197 -0.184)
OKLCHoklch(45.44% 0.185 276.1)
XYZxyz(12.9303, 8.4485, 47.3942)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4141BA #BABA41
analogous
#417EBA #4141BA #7E41BA
triadic
#4141BA #BA4141 #41BA41
tetradic
#4141BA #BA417E #BABA41 #41BA7E
square
#4141BA #BA417E #BABA41 #41BA7E
split-complementary
#4141BA #BA7E41 #7EBA41
monochromatic
#21215F #31318D #4141BA #6C6CCC #9A9ADC

Accessibility & contrast

On white

7.81
#4141BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4141BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4141BA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4141BA#FFFFFF#000000##FFFFFF
##4141BA1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4141ba;
/* rgb */ color: rgb(65, 65, 186);
/* oklch */ color: oklch(45.4% 0.185 276.1);
Tailwind
colors: {
  custom: {
    50: '#8476d0',
    500: '#4141ba',
    950: '#000000',
  },
}
SCSS
$custom: #4141ba;
$custom-light: #8476d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4141ba",
  "rgb": {
    "r": 65,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 240,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45436,
    "c": 0.18508,
    "h": 276.1
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#4141BA
secondary
#C8C88F
accent
#D850D8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4141BA

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

Preview Lab → · Contrast checker → · Palette generator →

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