#3B45AE#3B45AE

#3B45AE is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.166 H 273.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3B45AE
RGBrgb(59, 69, 174)
HSLhsl(235, 49%, 46%)
HSVhsv(235, 66%, 68%)
CMYKcmyk(66.1%, 60.3%, 0%, 31.8%)
CIE-LABlab(34.48, 30.21, -57.41)
CIE-LCHlch(34.48, 64.87, 297.75°)
OKLaboklab(44.72% 0.0101 -0.1654)
OKLCHoklch(44.72% 0.166 273.5)
XYZxyz(11.5692, 8.2410, 41.0172)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B45AE #AEA43B
analogous
#3B7EAE #3B45AE #6B3BAE
triadic
#3B45AE #AE3B45 #45AE3B
tetradic
#3B45AE #AE3B7E #AEA43B #3BAE6B
square
#3B45AE #AE3B7E #AEA43B #3BAE6B
split-complementary
#3B45AE #AE6B3B #7EAE3B
monochromatic
#1C2153 #2C3380 #3B45AE #5E67C8 #8C92D8

Accessibility & contrast

On white

7.93
#3B45AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3B45AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B45AE
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B45AE#FFFFFF#000000##FFFFFF
##3B45AE1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b45ae;
/* rgb */ color: rgb(59, 69, 174);
/* oklch */ color: oklch(44.7% 0.166 273.5);
Tailwind
colors: {
  custom: {
    50: '#7e78c7',
    500: '#3b45ae',
    950: '#000000',
  },
}
SCSS
$custom: #3b45ae;
$custom-light: #7e78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b45ae",
  "rgb": {
    "r": 59,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 234.783,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44717,
    "c": 0.16567,
    "h": 273.5
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#3B45AE
secondary
#C2BD82
accent
#CD4FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3B45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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