#3B4EC1#3B4EC1

#3B4EC1 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.180 H 270.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3B4EC1
RGBrgb(59, 78, 193)
HSLhsl(231, 53%, 49%)
HSVhsv(231, 69%, 76%)
CMYKcmyk(69.4%, 59.6%, 0%, 24.3%)
CIE-LABlab(38.25, 31.17, -62.47)
CIE-LCHlch(38.25, 69.82, 296.52°)
OKLaboklab(47.98% 0.0026 -0.1801)
OKLCHoklch(47.98% 0.18 270.8)
XYZxyz(14.1504, 10.2275, 51.6701)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4EC1 #C1AE3B
analogous
#3B91C1 #3B4EC1 #6B3BC1
triadic
#3B4EC1 #C13B4E #4EC13B
tetradic
#3B4EC1 #C13B91 #C1AE3B #3BC16B
square
#3B4EC1 #C13B91 #C1AE3B #3BC16B
split-complementary
#3B4EC1 #C16B3B #91C13B
monochromatic
#1E2863 #2D3B92 #3B4EC1 #6877D1 #97A1DF

Accessibility & contrast

On white

6.89
#3B4EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3B4EC1
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4EC1#FFFFFF#000000##FFFFFF
##3B4EC11.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3b4ec1;
/* rgb */ color: rgb(59, 78, 193);
/* oklch */ color: oklch(48.0% 0.180 270.8);
Tailwind
colors: {
  custom: {
    50: '#827fd5',
    500: '#3b4ec1',
    950: '#000000',
  },
}
SCSS
$custom: #3b4ec1;
$custom-light: #827fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4ec1",
  "rgb": {
    "r": 59,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 231.493,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47981,
    "c": 0.18015,
    "h": 270.8
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B4EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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