#3A45CA#3A45CA

#3A45CA is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.1% C 0.203 H 272.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#3A45CA
RGBrgb(58, 69, 202)
HSLhsl(235, 58%, 51%)
HSVhsv(235, 71%, 79%)
CMYKcmyk(71.3%, 65.8%, 0%, 20.8%)
CIE-LABlab(36.78, 39.86, -70.11)
CIE-LCHlch(36.78, 80.65, 299.62°)
OKLaboklab(47.12% 0.0075 -0.2026)
OKLCHoklch(47.12% 0.203 272.1)
XYZxyz(14.5301, 9.4186, 56.9179)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A45CA #CABF3A
analogous
#3A8DCA #3A45CA #773ACA
triadic
#3A45CA #CA3A45 #45CA3A
tetradic
#3A45CA #CA3A8D #CABF3A #3ACA77
square
#3A45CA #CA3A8D #CABF3A #3ACA77
split-complementary
#3A45CA #CA773A #8DCA3A
monochromatic
#1D236C #2A339D #3A45CA #6A73D7 #9AA0E4

Accessibility & contrast

On white

7.28
#3A45CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3A45CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A45CA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A45CA#FFFFFF#000000##FFFFFF
##3A45CA1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a45ca;
/* rgb */ color: rgb(58, 69, 202);
/* oklch */ color: oklch(47.1% 0.203 272.1);
Tailwind
colors: {
  custom: {
    50: '#8479db',
    500: '#3a45ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a45ca;
$custom-light: #8479db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a45ca",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 235.417,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47118,
    "c": 0.20279,
    "h": 272.1
  },
  "luminance": 0.0942
}

Semantic roles & 50–950 ramp

primary
#3A45CA
secondary
#D0CB90
accent
#D547E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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