#3A45C9#3A45C9

#3A45C9 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.0% C 0.202 H 272.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#3A45C9
RGBrgb(58, 69, 201)
HSLhsl(235, 57%, 51%)
HSVhsv(235, 71%, 79%)
CMYKcmyk(71.1%, 65.7%, 0%, 21.2%)
CIE-LABlab(36.69, 39.51, -69.68)
CIE-LCHlch(36.69, 80.10, 299.56°)
OKLaboklab(47.03% 0.0076 -0.2014)
OKLCHoklch(47.03% 0.202 272.2)
XYZxyz(14.4121, 9.3714, 56.2963)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A45C9 #C9BE3A
analogous
#3A8CC9 #3A45C9 #773AC9
triadic
#3A45C9 #C93A45 #45C93A
tetradic
#3A45C9 #C93A8C #C9BE3A #3AC977
square
#3A45C9 #C93A8C #C9BE3A #3AC977
split-complementary
#3A45C9 #C9773A #8CC93A
monochromatic
#1D236B #2B339B #3A45C9 #6A72D6 #9AA0E3

Accessibility & contrast

On white

7.31
#3A45C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3A45C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A45C9
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A45C9#FFFFFF#000000##FFFFFF
##3A45C91.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCD
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a45c9;
/* rgb */ color: rgb(58, 69, 201);
/* oklch */ color: oklch(47.0% 0.202 272.2);
Tailwind
colors: {
  custom: {
    50: '#8479db',
    500: '#3a45c9',
    950: '#000000',
  },
}
SCSS
$custom: #3a45c9;
$custom-light: #8479db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a45c9",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 235.385,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47026,
    "c": 0.20151,
    "h": 272.2
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#3A45C9
secondary
#CFCA90
accent
#D448E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A45C9

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

Preview Lab → · Contrast checker → · Palette generator →

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