#3B418D#3B418D

#3B418D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.124 H 276.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#3B418D
RGBrgb(59, 65, 141)
HSLhsl(236, 41%, 39%)
HSVhsv(236, 58%, 55%)
CMYKcmyk(58.2%, 53.9%, 0%, 44.7%)
CIE-LABlab(30.96, 21.20, -43.16)
CIE-LCHlch(30.96, 48.09, 296.16°)
OKLaboklab(41.31% 0.0132 -0.1235)
OKLCHoklch(41.31% 0.124 276.1)
XYZxyz(8.5001, 6.6329, 26.0265)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B418D #8D873B
analogous
#3B6A8D #3B418D #5E3B8D
triadic
#3B418D #8D3B41 #418D3B
tetradic
#3B418D #8D3B6A #8D873B #3B8D5E
square
#3B418D #8D3B6A #8D873B #3B8D5E
split-complementary
#3B418D #8D5E3B #6A8D3B
monochromatic
#171937 #292D62 #3B418D #5057B6 #7B80C8

Accessibility & contrast

On white

9.03
#3B418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3B418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B418D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B418D#FFFFFF#000000##FFFFFF
##3B418D1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C90
Deuteranopia (green-blind)
#03468B
Tritanopia (blue-blind)
#0B5260
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3b418d;
/* rgb */ color: rgb(59, 65, 141);
/* oklch */ color: oklch(41.3% 0.124 276.1);
Tailwind
colors: {
  custom: {
    50: '#7875af',
    500: '#3b418d',
    950: '#000000',
  },
}
SCSS
$custom: #3b418d;
$custom-light: #7875af;
$custom-dark: #000000;
JSON
{
  "hex": "#3b418d",
  "rgb": {
    "r": 59,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 235.61,
    "s": 41,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41307,
    "c": 0.12421,
    "h": 276.1
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#3B418D
secondary
#B1AD73
accent
#C857D1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #3B418D

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

Preview Lab → · Contrast checker → · Palette generator →

#3B418D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva