#3B45AF#3B45AF

#3B45AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.167 H 273.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3B45AF
RGBrgb(59, 69, 175)
HSLhsl(235, 50%, 46%)
HSVhsv(235, 66%, 69%)
CMYKcmyk(66.3%, 60.6%, 0%, 31.4%)
CIE-LABlab(34.56, 30.56, -57.87)
CIE-LCHlch(34.56, 65.45, 297.84°)
OKLaboklab(44.8% 0.0101 -0.1667)
OKLCHoklch(44.8% 0.167 273.5)
XYZxyz(11.6670, 8.2802, 41.5325)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B45AF #AFA53B
analogous
#3B7FAF #3B45AF #6B3BAF
triadic
#3B45AF #AF3B45 #45AF3B
tetradic
#3B45AF #AF3B7F #AFA53B #3BAF6B
square
#3B45AF #AF3B7F #AFA53B #3BAF6B
split-complementary
#3B45AF #AF6B3B #7FAF3B
monochromatic
#1C2153 #2C3381 #3B45AF #5E68C9 #8C93D8

Accessibility & contrast

On white

7.91
#3B45AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3B45AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B45AF
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B45AF#FFFFFF#000000##FFFFFF
##3B45AF1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b45af;
/* rgb */ color: rgb(59, 69, 175);
/* oklch */ color: oklch(44.8% 0.167 273.5);
Tailwind
colors: {
  custom: {
    50: '#7f78c8',
    500: '#3b45af',
    950: '#000000',
  },
}
SCSS
$custom: #3b45af;
$custom-light: #7f78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b45af",
  "rgb": {
    "r": 59,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 234.828,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44801,
    "c": 0.16703,
    "h": 273.5
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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