#3A45BF#3A45BF

#3A45BF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.1% C 0.189 H 272.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#3A45BF
RGBrgb(58, 69, 191)
HSLhsl(235, 53%, 49%)
HSVhsv(235, 70%, 75%)
CMYKcmyk(69.6%, 63.9%, 0%, 25.1%)
CIE-LABlab(35.82, 36.04, -65.26)
CIE-LCHlch(35.82, 74.55, 298.91°)
OKLaboklab(46.13% 0.0083 -0.1884)
OKLCHoklch(46.13% 0.189 272.5)
XYZxyz(13.2739, 8.9161, 50.3016)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A45BF #BFB43A
analogous
#3A88BF #3A45BF #723ABF
triadic
#3A45BF #BF3A45 #45BF3A
tetradic
#3A45BF #BF3A88 #BFB43A #3ABF72
square
#3A45BF #BF3A88 #BFB43A #3ABF72
split-complementary
#3A45BF #BF723A #88BF3A
monochromatic
#1D2361 #2C3490 #3A45BF #666FD0 #959BDF

Accessibility & contrast

On white

7.54
#3A45BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3A45BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A45BF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A45BF#FFFFFF#000000##FFFFFF
##3A45BF1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#004EBD
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a45bf;
/* rgb */ color: rgb(58, 69, 191);
/* oklch */ color: oklch(46.1% 0.189 272.5);
Tailwind
colors: {
  custom: {
    50: '#8279d3',
    500: '#3a45bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a45bf;
$custom-light: #8279d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a45bf",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 235.038,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.18861,
    "h": 272.5
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#3A45BF
secondary
#CAC58B
accent
#D14BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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