#3A45C7#3A45C7

#3A45C7 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.199 H 272.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3A45C7
RGBrgb(58, 69, 199)
HSLhsl(235, 56%, 50%)
HSVhsv(235, 71%, 78%)
CMYKcmyk(70.9%, 65.3%, 0%, 22%)
CIE-LABlab(36.51, 38.82, -68.80)
CIE-LCHlch(36.51, 79.00, 299.43°)
OKLaboklab(46.84% 0.0078 -0.1988)
OKLCHoklch(46.84% 0.199 272.2)
XYZxyz(14.1784, 9.2779, 55.0654)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A45C7 #C7BC3A
analogous
#3A8BC7 #3A45C7 #753AC7
triadic
#3A45C7 #C73A45 #45C73A
tetradic
#3A45C7 #C73A8B #C7BC3A #3AC775
square
#3A45C7 #C73A8B #C7BC3A #3AC775
split-complementary
#3A45C7 #C7753A #8BC73A
monochromatic
#1E2469 #2B3498 #3A45C7 #6A72D5 #999FE2

Accessibility & contrast

On white

7.35
#3A45C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3A45C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A45C7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A45C7#FFFFFF#000000##FFFFFF
##3A45C71.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#004FC5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a45c7;
/* rgb */ color: rgb(58, 69, 199);
/* oklch */ color: oklch(46.8% 0.199 272.2);
Tailwind
colors: {
  custom: {
    50: '#8379d9',
    500: '#3a45c7',
    950: '#000000',
  },
}
SCSS
$custom: #3a45c7;
$custom-light: #8379d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a45c7",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 235.319,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46844,
    "c": 0.19896,
    "h": 272.2
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

primary
#3A45C7
secondary
#CEC98F
accent
#D349DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A45C7

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

Preview Lab → · Contrast checker → · Palette generator →

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