#3D57B2#3D57B2

#3D57B2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.148 H 268.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#3D57B2
RGBrgb(61, 87, 178)
HSLhsl(227, 49%, 47%)
HSVhsv(227, 66%, 70%)
CMYKcmyk(65.7%, 51.1%, 0%, 30.2%)
CIE-LABlab(39.62, 20.28, -51.45)
CIE-LCHlch(39.62, 55.30, 291.51°)
OKLaboklab(48.69% -0.004 -0.1476)
OKLCHoklch(48.69% 0.148 268.5)
XYZxyz(13.3658, 11.0216, 43.5339)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D57B2 #B2983D
analogous
#3D92B2 #3D57B2 #5E3DB2
triadic
#3D57B2 #B23D57 #57B23D
tetradic
#3D57B2 #B23D92 #B2983D #3DB25E
square
#3D57B2 #B23D92 #B2983D #3DB25E
split-complementary
#3D57B2 #B25E3D #92B23D
monochromatic
#1E2A57 #2D4184 #3D57B2 #637AC9 #90A0D9

Accessibility & contrast

On white

6.55
#3D57B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3D57B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D57B2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D57B2#FFFFFF#000000##FFFFFF
##3D57B21.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3d57b2;
/* rgb */ color: rgb(61, 87, 178);
/* oklch */ color: oklch(48.7% 0.148 268.5);
Tailwind
colors: {
  custom: {
    50: '#7f86ca',
    500: '#3d57b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d57b2;
$custom-light: #7f86ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d57b2",
  "rgb": {
    "r": 61,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 226.667,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.14761,
    "h": 268.5
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#3D57B2
secondary
#C4B687
accent
#BA4FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3D57B2

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

Preview Lab → · Contrast checker → · Palette generator →

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