#3B56AF#3B56AF

#3B56AF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.145 H 267.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#3B56AF
RGBrgb(59, 86, 175)
HSLhsl(226, 50%, 46%)
HSVhsv(226, 66%, 69%)
CMYKcmyk(66.3%, 50.9%, 0%, 31.4%)
CIE-LABlab(39.03, 19.51, -50.62)
CIE-LCHlch(39.03, 54.25, 291.08°)
OKLaboklab(48.16% -0.0053 -0.1452)
OKLCHoklch(48.16% 0.145 267.9)
XYZxyz(12.8666, 10.6793, 41.9324)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B56AF #AF943B
analogous
#3B90AF #3B56AF #5A3BAF
triadic
#3B56AF #AF3B56 #56AF3B
tetradic
#3B56AF #AF3B90 #AF943B #3BAF5A
square
#3B56AF #AF3B90 #AF943B #3BAF5A
split-complementary
#3B56AF #AF5A3B #90AF3B
monochromatic
#1C2953 #2C4081 #3B56AF #5E77C9 #8C9ED8

Accessibility & contrast

On white

6.70
#3B56AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3B56AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B56AF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B56AF#FFFFFF#000000##FFFFFF
##3B56AF1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3b56af;
/* rgb */ color: rgb(59, 86, 175);
/* oklch */ color: oklch(48.2% 0.145 267.9);
Tailwind
colors: {
  custom: {
    50: '#7e85c7',
    500: '#3b56af',
    950: '#000000',
  },
}
SCSS
$custom: #3b56af;
$custom-light: #7e85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b56af",
  "rgb": {
    "r": 59,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 226.034,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48156,
    "c": 0.14529,
    "h": 267.9
  },
  "luminance": 0.10681
}

Semantic roles & 50–950 ramp

primary
#3B56AF
secondary
#C3B483
accent
#B94FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3B56AF

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

Preview Lab → · Contrast checker → · Palette generator →

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