#3A45C8#3A45C8

#3A45C8 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 46.9% C 0.200 H 272.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#3A45C8
RGBrgb(58, 69, 200)
HSLhsl(235, 56%, 51%)
HSVhsv(235, 71%, 78%)
CMYKcmyk(71%, 65.5%, 0%, 21.6%)
CIE-LABlab(36.60, 39.17, -69.24)
CIE-LCHlch(36.60, 79.55, 299.50°)
OKLaboklab(46.94% 0.0077 -0.2001)
OKLCHoklch(46.94% 0.2 272.2)
XYZxyz(14.2949, 9.3245, 55.6788)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A45C8 #C8BD3A
analogous
#3A8CC8 #3A45C8 #763AC8
triadic
#3A45C8 #C83A45 #45C83A
tetradic
#3A45C8 #C83A8C #C8BD3A #3AC876
square
#3A45C8 #C83A8C #C8BD3A #3AC876
split-complementary
#3A45C8 #C8763A #8CC83A
monochromatic
#1E246A #2B349A #3A45C8 #6A72D5 #9A9FE3

Accessibility & contrast

On white

7.33
#3A45C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A45C8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A45C8#FFFFFF#000000##FFFFFF
##3A45C81.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0050C6
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a45c8;
/* rgb */ color: rgb(58, 69, 200);
/* oklch */ color: oklch(46.9% 0.200 272.2);
Tailwind
colors: {
  custom: {
    50: '#8479da',
    500: '#3a45c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a45c8;
$custom-light: #8479da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a45c8",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 235.352,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46935,
    "c": 0.20024,
    "h": 272.2
  },
  "luminance": 0.09326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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