#3A56BB#3A56BB

#3A56BB is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.162 H 268.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#3A56BB
RGBrgb(58, 86, 187)
HSLhsl(227, 53%, 48%)
HSVhsv(227, 69%, 73%)
CMYKcmyk(69%, 54%, 0%, 26.7%)
CIE-LABlab(39.82, 23.71, -56.41)
CIE-LCHlch(39.82, 61.19, 292.80°)
OKLaboklab(49% -0.0052 -0.1622)
OKLCHoklch(49% 0.162 268.2)
XYZxyz(14.0393, 11.1416, 48.4147)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A56BB #BB9F3A
analogous
#3A96BB #3A56BB #5F3ABB
triadic
#3A56BB #BB3A56 #56BB3A
tetradic
#3A56BB #BB3A96 #BB9F3A #3ABB5F
square
#3A56BB #BB3A96 #BB9F3A #3ABB5F
split-complementary
#3A56BB #BB5F3A #96BB3A
monochromatic
#1D2B5E #2C418C #3A56BB #637BCF #92A2DD

Accessibility & contrast

On white

6.50
#3A56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3A56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A56BB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A56BB#FFFFFF#000000##FFFFFF
##3A56BB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a56bb;
/* rgb */ color: rgb(58, 86, 187);
/* oklch */ color: oklch(49.0% 0.162 268.2);
Tailwind
colors: {
  custom: {
    50: '#8085d0',
    500: '#3a56bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a56bb;
$custom-light: #8085d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a56bb",
  "rgb": {
    "r": 58,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 226.977,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49,
    "c": 0.16233,
    "h": 268.2
  },
  "luminance": 0.11143
}

Semantic roles & 50–950 ramp

primary
#3A56BB
secondary
#C8BA88
accent
#BD4CDC
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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