#4141D8#4141D8

#4141D8 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.2% C 0.223 H 274.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4141D8
RGBrgb(65, 65, 216)
HSLhsl(240, 66%, 55%)
HSVhsv(240, 70%, 85%)
CMYKcmyk(69.9%, 69.9%, 0%, 15.3%)
CIE-LABlab(37.59, 47.71, -76.85)
CIE-LCHlch(37.59, 90.46, 301.83°)
OKLaboklab(48.2% 0.0162 -0.2222)
OKLCHoklch(48.2% 0.223 274.2)
XYZxyz(16.4608, 9.8607, 65.9882)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4141D8 #D8D841
analogous
#418CD8 #4141D8 #8C41D8
triadic
#4141D8 #D84141 #41D841
tetradic
#4141D8 #D8418C #D8D841 #41D88C
square
#4141D8 #D8418C #D8D841 #41D88C
split-complementary
#4141D8 #D88C41 #8CD841
monochromatic
#1B1B84 #2525B6 #4141D8 #7474E2 #A7A7ED

Accessibility & contrast

On white

7.06
#4141D8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4141D8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4141D8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4141D8#FFFFFF#000000##FFFFFF
##4141D81.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DD
Deuteranopia (green-blind)
#0051D5
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4141d8;
/* rgb */ color: rgb(65, 65, 216);
/* oklch */ color: oklch(48.2% 0.223 274.2);
Tailwind
colors: {
  custom: {
    50: '#8a77e5',
    500: '#4141d8',
    950: '#000000',
  },
}
SCSS
$custom: #4141d8;
$custom-light: #8a77e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4141d8",
  "rgb": {
    "r": 65,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 240,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48203,
    "c": 0.22277,
    "h": 274.2
  },
  "luminance": 0.09862
}

Semantic roles & 50–950 ramp

primary
#4141D8
secondary
#DADA9B
accent
#E93FE9
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4141D8

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

Preview Lab → · Contrast checker → · Palette generator →

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