#3B45C2#3B45C2

#3B45C2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.5% C 0.192 H 272.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#3B45C2
RGBrgb(59, 69, 194)
HSLhsl(236, 53%, 50%)
HSVhsv(236, 70%, 76%)
CMYKcmyk(69.6%, 64.4%, 0%, 23.9%)
CIE-LABlab(36.14, 37.21, -66.50)
CIE-LCHlch(36.14, 76.20, 299.23°)
OKLaboklab(46.45% 0.0092 -0.192)
OKLCHoklch(46.45% 0.192 272.7)
XYZxyz(13.6661, 9.0798, 52.0608)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B45C2 #C2B83B
analogous
#3B88C2 #3B45C2 #753BC2
triadic
#3B45C2 #C23B45 #45C23B
tetradic
#3B45C2 #C23B88 #C2B83B #3BC275
square
#3B45C2 #C23B88 #C2B83B #3BC275
split-complementary
#3B45C2 #C2753B #88C23B
monochromatic
#1E2464 #2D3493 #3B45C2 #6971D1 #989DE0

Accessibility & contrast

On white

7.46
#3B45C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3B45C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B45C2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B45C2#FFFFFF#000000##FFFFFF
##3B45C21.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3b45c2;
/* rgb */ color: rgb(59, 69, 194);
/* oklch */ color: oklch(46.5% 0.192 272.7);
Tailwind
colors: {
  custom: {
    50: '#8379d5',
    500: '#3b45c2',
    950: '#000000',
  },
}
SCSS
$custom: #3b45c2;
$custom-light: #8379d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b45c2",
  "rgb": {
    "r": 59,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 235.556,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46451,
    "c": 0.19226,
    "h": 272.7
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#3B45C2
secondary
#CBC78E
accent
#D24BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3B45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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