#3B45B9#3B45B9

#3B45B9 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.7% C 0.180 H 273.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3B45B9
RGBrgb(59, 69, 185)
HSLhsl(235, 52%, 48%)
HSVhsv(235, 68%, 73%)
CMYKcmyk(68.1%, 62.7%, 0%, 27.5%)
CIE-LABlab(35.38, 34.08, -62.46)
CIE-LCHlch(35.38, 71.15, 298.61°)
OKLaboklab(45.66% 0.0097 -0.1802)
OKLCHoklch(45.66% 0.18 273.1)
XYZxyz(12.6858, 8.6877, 46.8979)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B45B9 #B9AF3B
analogous
#3B84B9 #3B45B9 #703BB9
triadic
#3B45B9 #B93B45 #45B93B
tetradic
#3B45B9 #B93B84 #B9AF3B #3BB970
square
#3B45B9 #B93B84 #B9AF3B #3BB970
split-complementary
#3B45B9 #B9703B #84B93B
monochromatic
#1D225C #2C348B #3B45B9 #646CCD #9298DC

Accessibility & contrast

On white

7.67
#3B45B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3B45B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B45B9
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B45B9#FFFFFF#000000##FFFFFF
##3B45B91.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3b45b9;
/* rgb */ color: rgb(59, 69, 185);
/* oklch */ color: oklch(45.7% 0.180 273.1);
Tailwind
colors: {
  custom: {
    50: '#8178cf',
    500: '#3b45b9',
    950: '#000000',
  },
}
SCSS
$custom: #3b45b9;
$custom-light: #8178cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b45b9",
  "rgb": {
    "r": 59,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 235.238,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45657,
    "c": 0.18046,
    "h": 273.1
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#3B45B9
secondary
#C7C288
accent
#D04DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3B45B9

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

Preview Lab → · Contrast checker → · Palette generator →

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