#3A45C1#3A45C1

#3A45C1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.3% C 0.191 H 272.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#3A45C1
RGBrgb(58, 69, 193)
HSLhsl(235, 54%, 49%)
HSVhsv(235, 70%, 76%)
CMYKcmyk(69.9%, 64.2%, 0%, 24.3%)
CIE-LABlab(35.99, 36.74, -66.15)
CIE-LCHlch(35.99, 75.67, 299.05°)
OKLaboklab(46.3% 0.0082 -0.191)
OKLCHoklch(46.3% 0.191 272.5)
XYZxyz(13.4954, 9.0047, 51.4686)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A45C1 #C1B63A
analogous
#3A89C1 #3A45C1 #733AC1
triadic
#3A45C1 #C13A45 #45C13A
tetradic
#3A45C1 #C13A89 #C1B63A #3AC173
square
#3A45C1 #C13A89 #C1B63A #3AC173
split-complementary
#3A45C1 #C1733A #89C13A
monochromatic
#1E2363 #2C3492 #3A45C1 #6770D1 #969CDF

Accessibility & contrast

On white

7.50
#3A45C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3A45C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A45C1
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A45C1#FFFFFF#000000##FFFFFF
##3A45C11.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#004EBF
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a45c1;
/* rgb */ color: rgb(58, 69, 193);
/* oklch */ color: oklch(46.3% 0.191 272.5);
Tailwind
colors: {
  custom: {
    50: '#8279d5',
    500: '#3a45c1',
    950: '#000000',
  },
}
SCSS
$custom: #3a45c1;
$custom-light: #8279d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a45c1",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 235.111,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46304,
    "c": 0.19122,
    "h": 272.5
  },
  "luminance": 0.09006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A45C1

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

Preview Lab → · Contrast checker → · Palette generator →

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