#3D56BF#3D56BF

#3D56BF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.167 H 269.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3D56BF
RGBrgb(61, 86, 191)
HSLhsl(228, 52%, 49%)
HSVhsv(228, 68%, 75%)
CMYKcmyk(68.1%, 55%, 0%, 25.1%)
CIE-LABlab(40.26, 25.61, -58.03)
CIE-LCHlch(40.26, 63.43, 293.81°)
OKLaboklab(49.47% -0.002 -0.1669)
OKLCHoklch(49.47% 0.167 269.3)
XYZxyz(14.6530, 11.4079, 50.7098)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D56BF #BFA63D
analogous
#3D97BF #3D56BF #653DBF
triadic
#3D56BF #BF3D56 #56BF3D
tetradic
#3D56BF #BF3D97 #BFA63D #3DBF65
square
#3D56BF #BF3D97 #BFA63D #3DBF65
split-complementary
#3D56BF #BF653D #97BF3D
monochromatic
#1F2C62 #2E4191 #3D56BF #6A7DCF #98A6DE

Accessibility & contrast

On white

6.40
#3D56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3D56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D56BF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D56BF#FFFFFF#000000##FFFFFF
##3D56BF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3d56bf;
/* rgb */ color: rgb(61, 86, 191);
/* oklch */ color: oklch(49.5% 0.167 269.3);
Tailwind
colors: {
  custom: {
    50: '#8285d3',
    500: '#3d56bf',
    950: '#000000',
  },
}
SCSS
$custom: #3d56bf;
$custom-light: #8285d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d56bf",
  "rgb": {
    "r": 61,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 228.462,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49465,
    "c": 0.16695,
    "h": 269.3
  },
  "luminance": 0.11409
}

Semantic roles & 50–950 ramp

primary
#3D56BF
secondary
#CABE8E
accent
#C04DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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