#3B45C5#3B45C5

#3B45C5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.7% C 0.196 H 272.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#3B45C5
RGBrgb(59, 69, 197)
HSLhsl(236, 54%, 50%)
HSVhsv(236, 70%, 77%)
CMYKcmyk(70.1%, 65%, 0%, 22.7%)
CIE-LABlab(36.40, 38.25, -67.83)
CIE-LCHlch(36.40, 77.87, 299.42°)
OKLaboklab(46.72% 0.009 -0.1959)
OKLCHoklch(46.72% 0.196 272.6)
XYZxyz(14.0064, 9.2159, 53.8532)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B45C5 #C5BB3B
analogous
#3B8AC5 #3B45C5 #763BC5
triadic
#3B45C5 #C53B45 #45C53B
tetradic
#3B45C5 #C53B8A #C5BB3B #3BC576
square
#3B45C5 #C53B8A #C5BB3B #3BC576
split-complementary
#3B45C5 #C5763B #8AC53B
monochromatic
#1F2467 #2C3496 #3B45C5 #6A72D3 #999FE1

Accessibility & contrast

On white

7.39
#3B45C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3B45C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B45C5
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B45C5#FFFFFF#000000##FFFFFF
##3B45C51.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#004FC3
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3b45c5;
/* rgb */ color: rgb(59, 69, 197);
/* oklch */ color: oklch(46.7% 0.196 272.6);
Tailwind
colors: {
  custom: {
    50: '#8379d8',
    500: '#3b45c5',
    950: '#000000',
  },
}
SCSS
$custom: #3b45c5;
$custom-light: #8379d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b45c5",
  "rgb": {
    "r": 59,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 235.652,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4672,
    "c": 0.19614,
    "h": 272.6
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#3B45C5
secondary
#CDC88F
accent
#D34ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3B45C5

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

Preview Lab → · Contrast checker → · Palette generator →

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