#3B45AC#3B45AC

#3B45AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.163 H 273.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3B45AC
RGBrgb(59, 69, 172)
HSLhsl(235, 49%, 45%)
HSVhsv(235, 66%, 67%)
CMYKcmyk(65.7%, 59.9%, 0%, 32.5%)
CIE-LABlab(34.32, 29.50, -56.48)
CIE-LCHlch(34.32, 63.72, 297.58°)
OKLaboklab(44.55% 0.0101 -0.1626)
OKLCHoklch(44.55% 0.163 273.6)
XYZxyz(11.3757, 8.1636, 39.9980)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B45AC #ACA23B
analogous
#3B7EAC #3B45AC #693BAC
triadic
#3B45AC #AC3B45 #45AC3B
tetradic
#3B45AC #AC3B7E #ACA23B #3BAC69
square
#3B45AC #AC3B7E #ACA23B #3BAC69
split-complementary
#3B45AC #AC693B #7EAC3B
monochromatic
#1C2051 #2B337E #3B45AC #5D66C7 #8A91D7

Accessibility & contrast

On white

7.98
#3B45AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3B45AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B45AC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B45AC#FFFFFF#000000##FFFFFF
##3B45AC1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b45ac;
/* rgb */ color: rgb(59, 69, 172);
/* oklch */ color: oklch(44.5% 0.163 273.6);
Tailwind
colors: {
  custom: {
    50: '#7e78c6',
    500: '#3b45ac',
    950: '#000000',
  },
}
SCSS
$custom: #3b45ac;
$custom-light: #7e78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b45ac",
  "rgb": {
    "r": 59,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 234.69,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4455,
    "c": 0.16293,
    "h": 273.6
  },
  "luminance": 0.08165
}

Semantic roles & 50–950 ramp

primary
#3B45AC
secondary
#C1BC81
accent
#CC4FD8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3B45AC

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

Preview Lab → · Contrast checker → · Palette generator →

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