#3A45C0#3A45C0

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

Color values

HEX#3A45C0
RGBrgb(58, 69, 192)
HSLhsl(235, 54%, 49%)
HSVhsv(235, 70%, 75%)
CMYKcmyk(69.8%, 64.1%, 0%, 24.7%)
CIE-LABlab(35.91, 36.39, -65.71)
CIE-LCHlch(35.91, 75.11, 298.98°)
OKLaboklab(46.21% 0.0083 -0.1897)
OKLCHoklch(46.21% 0.19 272.5)
XYZxyz(13.3843, 8.9603, 50.8831)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A45C0 #C0B53A
analogous
#3A88C0 #3A45C0 #723AC0
triadic
#3A45C0 #C03A45 #45C03A
tetradic
#3A45C0 #C03A88 #C0B53A #3AC072
square
#3A45C0 #C03A88 #C0B53A #3AC072
split-complementary
#3A45C0 #C0723A #88C03A
monochromatic
#1E2362 #2C3491 #3A45C0 #666FD1 #959BDF

Accessibility & contrast

On white

7.52
#3A45C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3A45C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A45C0
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A45C0#FFFFFF#000000##FFFFFF
##3A45C01.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#004EBE
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a45c0;
/* rgb */ color: rgb(58, 69, 192);
/* oklch */ color: oklch(46.2% 0.190 272.5);
Tailwind
colors: {
  custom: {
    50: '#8279d4',
    500: '#3a45c0',
    950: '#000000',
  },
}
SCSS
$custom: #3a45c0;
$custom-light: #8279d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a45c0",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 192
  },
  "hsl": {
    "h": 235.075,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46214,
    "c": 0.18992,
    "h": 272.5
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A45C0

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

Preview Lab → · Contrast checker → · Palette generator →

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