#3A45CC#3A45CC

#3A45CC is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.3% C 0.205 H 272.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#3A45CC
RGBrgb(58, 69, 204)
HSLhsl(235, 59%, 51%)
HSVhsv(235, 72%, 80%)
CMYKcmyk(71.6%, 66.2%, 0%, 20%)
CIE-LABlab(36.96, 40.55, -70.98)
CIE-LCHlch(36.96, 81.75, 299.74°)
OKLaboklab(47.3% 0.0074 -0.2052)
OKLCHoklch(47.3% 0.205 272.1)
XYZxyz(14.7685, 9.5139, 58.1731)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A45CC #CCC13A
analogous
#3A8ECC #3A45CC #783ACC
triadic
#3A45CC #CC3A45 #45CC3A
tetradic
#3A45CC #CC3A8E #CCC13A #3ACC78
square
#3A45CC #CC3A8E #CCC13A #3ACC78
split-complementary
#3A45CC #CC783A #8ECC3A
monochromatic
#1D236F #2932A0 #3A45CC #6B73D9 #9BA1E5

Accessibility & contrast

On white

7.23
#3A45CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3A45CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A45CC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A45CC#FFFFFF#000000##FFFFFF
##3A45CC1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0050C9
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a45cc;
/* rgb */ color: rgb(58, 69, 204);
/* oklch */ color: oklch(47.3% 0.205 272.1);
Tailwind
colors: {
  custom: {
    50: '#8479dd',
    500: '#3a45cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a45cc;
$custom-light: #8479dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a45cc",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 235.479,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47301,
    "c": 0.20532,
    "h": 272.1
  },
  "luminance": 0.09515
}

Semantic roles & 50–950 ramp

primary
#3A45CC
secondary
#D1CC91
accent
#D646E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3A45CC

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

Preview Lab → · Contrast checker → · Palette generator →

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