#3D57C2#3D57C2

#3D57C2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.170 H 269.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#3D57C2
RGBrgb(61, 87, 194)
HSLhsl(228, 52%, 50%)
HSVhsv(228, 69%, 76%)
CMYKcmyk(68.6%, 55.2%, 0%, 23.9%)
CIE-LABlab(40.74, 26.04, -59.00)
CIE-LCHlch(40.74, 64.49, 293.81°)
OKLaboklab(49.89% -0.0027 -0.1698)
OKLCHoklch(49.89% 0.17 269.1)
XYZxyz(15.0669, 11.7021, 52.4932)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D57C2 #C2A83D
analogous
#3D99C2 #3D57C2 #663DC2
triadic
#3D57C2 #C23D57 #57C23D
tetradic
#3D57C2 #C23D99 #C2A83D #3DC266
square
#3D57C2 #C23D99 #C2A83D #3DC266
split-complementary
#3D57C2 #C2663D #99C23D
monochromatic
#202D65 #2E4293 #3D57C2 #6C7FD1 #9AA8DF

Accessibility & contrast

On white

6.29
#3D57C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3D57C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D57C2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D57C2#FFFFFF#000000##FFFFFF
##3D57C21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3d57c2;
/* rgb */ color: rgb(61, 87, 194);
/* oklch */ color: oklch(49.9% 0.170 269.1);
Tailwind
colors: {
  custom: {
    50: '#8286d5',
    500: '#3d57c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d57c2;
$custom-light: #8286d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d57c2",
  "rgb": {
    "r": 61,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 228.271,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.49894,
    "c": 0.16979,
    "h": 269.1
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#3D57C2
secondary
#CBC090
accent
#C04CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D57C2

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

Preview Lab → · Contrast checker → · Palette generator →

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