#3B3EB8#3B3EB8

#3B3EB8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.4% C 0.187 H 274.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#3B3EB8
RGBrgb(59, 62, 184)
HSLhsl(239, 51%, 48%)
HSVhsv(239, 68%, 72%)
CMYKcmyk(67.9%, 66.3%, 0%, 27.8%)
CIE-LABlab(33.64, 38.10, -64.72)
CIE-LCHlch(33.64, 75.10, 300.48°)
OKLaboklab(44.36% 0.015 -0.1868)
OKLCHoklch(44.36% 0.187 274.6)
XYZxyz(12.1751, 7.8346, 46.2087)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3EB8 #B8B53B
analogous
#3B7CB8 #3B3EB8 #763BB8
triadic
#3B3EB8 #B83B3E #3EB83B
tetradic
#3B3EB8 #B83B7C #B8B53B #3BB876
square
#3B3EB8 #B83B7C #B8B53B #3BB876
split-complementary
#3B3EB8 #B8763B #7CB83B
monochromatic
#1D1F5B #2C2E8A #3B3EB8 #6366CD #9293DC

Accessibility & contrast

On white

8.18
#3B3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3B3EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3EB8
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3EB8#FFFFFF#000000##FFFFFF
##3B3EB81.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3b3eb8;
/* rgb */ color: rgb(59, 62, 184);
/* oklch */ color: oklch(44.4% 0.187 274.6);
Tailwind
colors: {
  custom: {
    50: '#8174ce',
    500: '#3b3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #3b3eb8;
$custom-light: #8174ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3eb8",
  "rgb": {
    "r": 59,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 238.56,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44359,
    "c": 0.18745,
    "h": 274.6
  },
  "luminance": 0.07836
}

Semantic roles & 50–950 ramp

primary
#3B3EB8
secondary
#C7C588
accent
#D74DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3B3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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