#3B4EC2#3B4EC2

#3B4EC2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.181 H 270.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3B4EC2
RGBrgb(59, 78, 194)
HSLhsl(232, 53%, 50%)
HSVhsv(232, 70%, 76%)
CMYKcmyk(69.6%, 59.8%, 0%, 23.9%)
CIE-LABlab(38.33, 31.53, -62.92)
CIE-LCHlch(38.33, 70.38, 296.62°)
OKLaboklab(48.06% 0.0026 -0.1815)
OKLCHoklch(48.06% 0.181 270.8)
XYZxyz(14.2623, 10.2722, 52.2596)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4EC2 #C2AF3B
analogous
#3B91C2 #3B4EC2 #6C3BC2
triadic
#3B4EC2 #C23B4E #4EC23B
tetradic
#3B4EC2 #C23B91 #C2AF3B #3BC26C
square
#3B4EC2 #C23B91 #C2AF3B #3BC26C
split-complementary
#3B4EC2 #C26C3B #91C23B
monochromatic
#1E2864 #2D3B93 #3B4EC2 #6978D1 #98A2E0

Accessibility & contrast

On white

6.87
#3B4EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3B4EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B4EC2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4EC2#FFFFFF#000000##FFFFFF
##3B4EC21.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3b4ec2;
/* rgb */ color: rgb(59, 78, 194);
/* oklch */ color: oklch(48.1% 0.181 270.8);
Tailwind
colors: {
  custom: {
    50: '#827fd5',
    500: '#3b4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3b4ec2;
$custom-light: #827fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4ec2",
  "rgb": {
    "r": 59,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 231.556,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48064,
    "c": 0.18149,
    "h": 270.8
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#3B4EC2
secondary
#CBC38E
accent
#C84BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3B4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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