#3B3EC8#3B3EC8

#3B3EC8 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.9% C 0.208 H 273.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3B3EC8
RGBrgb(59, 62, 200)
HSLhsl(239, 56%, 51%)
HSVhsv(239, 71%, 78%)
CMYKcmyk(70.5%, 69%, 0%, 21.6%)
CIE-LABlab(35.09, 43.51, -71.72)
CIE-LCHlch(35.09, 83.89, 301.25°)
OKLaboklab(45.86% 0.0132 -0.2073)
OKLCHoklch(45.86% 0.208 273.6)
XYZxyz(13.9481, 8.5438, 55.5464)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3EC8 #C8C53B
analogous
#3B85C8 #3B3EC8 #7E3BC8
triadic
#3B3EC8 #C83B3E #3EC83B
tetradic
#3B3EC8 #C83B85 #C8C53B #3BC87E
square
#3B3EC8 #C83B85 #C8C53B #3BC87E
split-complementary
#3B3EC8 #C87E3B #85C83B
monochromatic
#1E206B #2B2E9A #3B3EC8 #6B6DD5 #9B9CE3

Accessibility & contrast

On white

7.75
#3B3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3B3EC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3EC8
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3EC8#FFFFFF#000000##FFFFFF
##3B3EC81.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3b3ec8;
/* rgb */ color: rgb(59, 62, 200);
/* oklch */ color: oklch(45.9% 0.208 273.6);
Tailwind
colors: {
  custom: {
    50: '#8574da',
    500: '#3b3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ec8;
$custom-light: #8574da;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ec8",
  "rgb": {
    "r": 59,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 238.723,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45855,
    "c": 0.20775,
    "h": 273.6
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

primary
#3B3EC8
secondary
#CFCD90
accent
#DC48DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3B3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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