#3A45BD#3A45BD

#3A45BD is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.9% C 0.186 H 272.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#3A45BD
RGBrgb(58, 69, 189)
HSLhsl(235, 53%, 48%)
HSVhsv(235, 69%, 74%)
CMYKcmyk(69.3%, 63.5%, 0%, 25.9%)
CIE-LABlab(35.65, 35.34, -64.37)
CIE-LCHlch(35.65, 73.43, 298.77°)
OKLaboklab(45.95% 0.0084 -0.1858)
OKLCHoklch(45.95% 0.186 272.6)
XYZxyz(13.0553, 8.8287, 49.1503)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A45BD #BDB23A
analogous
#3A86BD #3A45BD #703ABD
triadic
#3A45BD #BD3A45 #45BD3A
tetradic
#3A45BD #BD3A86 #BDB23A #3ABD70
square
#3A45BD #BD3A86 #BDB23A #3ABD70
split-complementary
#3A45BD #BD703A #86BD3A
monochromatic
#1D235F #2C348E #3A45BD #656ED0 #939ADE

Accessibility & contrast

On white

7.59
#3A45BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3A45BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A45BD
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A45BD#FFFFFF#000000##FFFFFF
##3A45BD1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a45bd;
/* rgb */ color: rgb(58, 69, 189);
/* oklch */ color: oklch(45.9% 0.186 272.6);
Tailwind
colors: {
  custom: {
    50: '#8179d2',
    500: '#3a45bd',
    950: '#000000',
  },
}
SCSS
$custom: #3a45bd;
$custom-light: #8179d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a45bd",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 234.962,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.186,
    "h": 272.6
  },
  "luminance": 0.0883
}

Semantic roles & 50–950 ramp

primary
#3A45BD
secondary
#C9C48A
accent
#D04BDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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