#3B45C7#3B45C7

#3B45C7 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.9% C 0.199 H 272.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3B45C7
RGBrgb(59, 69, 199)
HSLhsl(236, 56%, 51%)
HSVhsv(236, 70%, 78%)
CMYKcmyk(70.4%, 65.3%, 0%, 22%)
CIE-LABlab(36.57, 38.94, -68.71)
CIE-LCHlch(36.57, 78.98, 299.54°)
OKLaboklab(46.9% 0.0088 -0.1985)
OKLCHoklch(46.9% 0.199 272.5)
XYZxyz(14.2371, 9.3082, 55.0681)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B45C7 #C7BD3B
analogous
#3B8BC7 #3B45C7 #773BC7
triadic
#3B45C7 #C73B45 #45C73B
tetradic
#3B45C7 #C73B8B #C7BD3B #3BC777
square
#3B45C7 #C73B8B #C7BD3B #3BC777
split-complementary
#3B45C7 #C7773B #8BC73B
monochromatic
#1E2469 #2C3499 #3B45C7 #6B72D5 #9A9FE2

Accessibility & contrast

On white

7.34
#3B45C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3B45C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B45C7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B45C7#FFFFFF#000000##FFFFFF
##3B45C71.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3b45c7;
/* rgb */ color: rgb(59, 69, 199);
/* oklch */ color: oklch(46.9% 0.199 272.5);
Tailwind
colors: {
  custom: {
    50: '#8479d9',
    500: '#3b45c7',
    950: '#000000',
  },
}
SCSS
$custom: #3b45c7;
$custom-light: #8479d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b45c7",
  "rgb": {
    "r": 59,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 235.714,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46901,
    "c": 0.1987,
    "h": 272.5
  },
  "luminance": 0.0931
}

Semantic roles & 50–950 ramp

primary
#3B45C7
secondary
#CECA90
accent
#D449DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3B45C7

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

Preview Lab → · Contrast checker → · Palette generator →

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