#3A45CD#3A45CD

#3A45CD is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.4% C 0.207 H 272.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3A45CD
RGBrgb(58, 69, 205)
HSLhsl(236, 60%, 52%)
HSVhsv(236, 72%, 80%)
CMYKcmyk(71.7%, 66.3%, 0%, 19.6%)
CIE-LABlab(37.04, 40.89, -71.42)
CIE-LCHlch(37.04, 82.30, 299.79°)
OKLaboklab(47.39% 0.0073 -0.2065)
OKLCHoklch(47.39% 0.207 272)
XYZxyz(14.8888, 9.5621, 58.8068)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A45CD #CDC23A
analogous
#3A8FCD #3A45CD #793ACD
triadic
#3A45CD #CD3A45 #45CD3A
tetradic
#3A45CD #CD3A8F #CDC23A #3ACD79
square
#3A45CD #CD3A8F #CDC23A #3ACD79
split-complementary
#3A45CD #CD793A #8FCD3A
monochromatic
#1C2370 #2932A1 #3A45CD #6B73D9 #9CA1E6

Accessibility & contrast

On white

7.21
#3A45CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3A45CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A45CD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A45CD#FFFFFF#000000##FFFFFF
##3A45CD1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0050CA
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a45cd;
/* rgb */ color: rgb(58, 69, 205);
/* oklch */ color: oklch(47.4% 0.207 272.0);
Tailwind
colors: {
  custom: {
    50: '#8579dd',
    500: '#3a45cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a45cd;
$custom-light: #8579dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a45cd",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 235.51,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47394,
    "c": 0.20659,
    "h": 272
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

primary
#3A45CD
secondary
#D2CD91
accent
#D745E3
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3A45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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