#3A56CF#3A56CF

#3A56CF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.189 H 268.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#3A56CF
RGBrgb(58, 86, 207)
HSLhsl(229, 61%, 52%)
HSVhsv(229, 72%, 81%)
CMYKcmyk(72%, 58.5%, 0%, 18.8%)
CIE-LABlab(41.31, 30.95, -65.60)
CIE-LCHlch(41.31, 72.54, 295.26°)
OKLaboklab(50.59% -0.0043 -0.1893)
OKLCHoklch(50.59% 0.189 268.7)
XYZxyz(16.3313, 12.0584, 60.4862)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A56CF #CFB33A
analogous
#3AA0CF #3A56CF #693ACF
triadic
#3A56CF #CF3A56 #56CF3A
tetradic
#3A56CF #CF3AA0 #CFB33A #3ACF69
square
#3A56CF #CF3AA0 #CFB33A #3ACF69
split-complementary
#3A56CF #CF693A #A0CF3A
monochromatic
#1C2C73 #283FA4 #3A56CF #6B80DB #9CAAE7

Accessibility & contrast

On white

6.15
#3A56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3A56CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A56CF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A56CF#FFFFFF#000000##FFFFFF
##3A56CF1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a56cf;
/* rgb */ color: rgb(58, 86, 207);
/* oklch */ color: oklch(50.6% 0.189 268.7);
Tailwind
colors: {
  custom: {
    50: '#8485df',
    500: '#3a56cf',
    950: '#000000',
  },
}
SCSS
$custom: #3a56cf;
$custom-light: #8485df;
$custom-dark: #000000;
JSON
{
  "hex": "#3a56cf",
  "rgb": {
    "r": 58,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 228.725,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.18931,
    "h": 268.7
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#3A56CF
secondary
#D3C792
accent
#C644E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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