#3B42AE#3B42AE

#3B42AE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.169 H 274.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#3B42AE
RGBrgb(59, 66, 174)
HSLhsl(236, 49%, 46%)
HSVhsv(236, 66%, 68%)
CMYKcmyk(66.1%, 62.1%, 0%, 31.8%)
CIE-LABlab(33.73, 32.13, -58.62)
CIE-LCHlch(33.73, 66.85, 298.73°)
OKLaboklab(44.17% 0.0126 -0.169)
OKLCHoklch(44.17% 0.169 274.3)
XYZxyz(11.3893, 7.8812, 40.9572)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B42AE #AEA73B
analogous
#3B7BAE #3B42AE #6D3BAE
triadic
#3B42AE #AE3B42 #42AE3B
tetradic
#3B42AE #AE3B7B #AEA73B #3BAE6D
square
#3B42AE #AE3B7B #AEA73B #3BAE6D
split-complementary
#3B42AE #AE6D3B #7BAE3B
monochromatic
#1C1F53 #2C3180 #3B42AE #5E64C8 #8C90D8

Accessibility & contrast

On white

8.15
#3B42AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3B42AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B42AE
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B42AE#FFFFFF#000000##FFFFFF
##3B42AE1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3b42ae;
/* rgb */ color: rgb(59, 66, 174);
/* oklch */ color: oklch(44.2% 0.169 274.3);
Tailwind
colors: {
  custom: {
    50: '#7f76c7',
    500: '#3b42ae',
    950: '#000000',
  },
}
SCSS
$custom: #3b42ae;
$custom-light: #7f76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b42ae",
  "rgb": {
    "r": 59,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 236.348,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44167,
    "c": 0.16943,
    "h": 274.3
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#3B42AE
secondary
#C2BE82
accent
#D04FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3B42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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