#3B3EC5#3B3EC5

#3B3EC5 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.6% C 0.204 H 273.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3B3EC5
RGBrgb(59, 62, 197)
HSLhsl(239, 54%, 50%)
HSVhsv(239, 70%, 77%)
CMYKcmyk(70.1%, 68.5%, 0%, 22.7%)
CIE-LABlab(34.81, 42.51, -70.43)
CIE-LCHlch(34.81, 82.26, 301.11°)
OKLaboklab(45.57% 0.0136 -0.2035)
OKLCHoklch(45.57% 0.204 273.8)
XYZxyz(13.6009, 8.4050, 53.7180)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3EC5 #C5C23B
analogous
#3B83C5 #3B3EC5 #7D3BC5
triadic
#3B3EC5 #C53B3E #3EC53B
tetradic
#3B3EC5 #C53B83 #C5C23B #3BC57D
square
#3B3EC5 #C53B83 #C5C23B #3BC57D
split-complementary
#3B3EC5 #C57D3B #83C53B
monochromatic
#1F2067 #2C2F96 #3B3EC5 #6A6DD3 #999BE1

Accessibility & contrast

On white

7.83
#3B3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3B3EC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3EC5
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3EC5#FFFFFF#000000##FFFFFF
##3B3EC51.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#004BC2
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3b3ec5;
/* rgb */ color: rgb(59, 62, 197);
/* oklch */ color: oklch(45.6% 0.204 273.8);
Tailwind
colors: {
  custom: {
    50: '#8474d8',
    500: '#3b3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ec5;
$custom-light: #8474d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ec5",
  "rgb": {
    "r": 59,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 238.696,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4557,
    "c": 0.204,
    "h": 273.8
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#3B3EC5
secondary
#CDCB8F
accent
#DA4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3B3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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