#3B45BB#3B45BB

#3B45BB is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.183 H 273.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#3B45BB
RGBrgb(59, 69, 187)
HSLhsl(235, 52%, 48%)
HSVhsv(235, 68%, 73%)
CMYKcmyk(68.4%, 63.1%, 0%, 26.7%)
CIE-LABlab(35.54, 34.77, -63.37)
CIE-LCHlch(35.54, 72.28, 298.76°)
OKLaboklab(45.83% 0.0096 -0.1829)
OKLCHoklch(45.83% 0.183 273)
XYZxyz(12.8984, 8.7727, 48.0176)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B45BB #BBB13B
analogous
#3B85BB #3B45BB #713BBB
triadic
#3B45BB #BB3B45 #45BB3B
tetradic
#3B45BB #BB3B85 #BBB13B #3BBB71
square
#3B45BB #BB3B85 #BBB13B #3BBB71
split-complementary
#3B45BB #BB713B #85BB3B
monochromatic
#1E235E #2C348C #3B45BB #656DCE #9399DD

Accessibility & contrast

On white

7.62
#3B45BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3B45BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B45BB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B45BB#FFFFFF#000000##FFFFFF
##3B45BB1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3b45bb;
/* rgb */ color: rgb(59, 69, 187);
/* oklch */ color: oklch(45.8% 0.183 273.0);
Tailwind
colors: {
  custom: {
    50: '#8179d0',
    500: '#3b45bb',
    950: '#000000',
  },
}
SCSS
$custom: #3b45bb;
$custom-light: #8179d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b45bb",
  "rgb": {
    "r": 59,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 235.313,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45832,
    "c": 0.1831,
    "h": 273
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#3B45BB
secondary
#C8C38A
accent
#D04CDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3B45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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