#3D57C8#3D57C8

#3D57C8 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.178 H 269.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#3D57C8
RGBrgb(61, 87, 200)
HSLhsl(229, 56%, 51%)
HSVhsv(229, 70%, 78%)
CMYKcmyk(69.5%, 56.5%, 0%, 21.6%)
CIE-LABlab(41.18, 28.19, -61.76)
CIE-LCHlch(41.18, 67.89, 294.54°)
OKLaboklab(50.36% -0.0025 -0.1779)
OKLCHoklch(50.36% 0.178 269.2)
XYZxyz(15.7544, 11.9771, 56.1139)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D57C8 #C8AE3D
analogous
#3D9CC8 #3D57C8 #683DC8
triadic
#3D57C8 #C83D57 #57C83D
tetradic
#3D57C8 #C83D9C #C8AE3D #3DC868
square
#3D57C8 #C83D9C #C8AE3D #3DC868
split-complementary
#3D57C8 #C8683D #9CC83D
monochromatic
#1F2D6C #2C419C #3D57C8 #6D80D6 #9CAAE3

Accessibility & contrast

On white

6.18
#3D57C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3D57C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D57C8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D57C8#FFFFFF#000000##FFFFFF
##3D57C81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3d57c8;
/* rgb */ color: rgb(61, 87, 200);
/* oklch */ color: oklch(50.4% 0.178 269.2);
Tailwind
colors: {
  custom: {
    50: '#8386da',
    500: '#3d57c8',
    950: '#000000',
  },
}
SCSS
$custom: #3d57c8;
$custom-light: #8386da;
$custom-dark: #000000;
JSON
{
  "hex": "#3d57c8",
  "rgb": {
    "r": 61,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 228.777,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50363,
    "c": 0.17793,
    "h": 269.2
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#3D57C8
secondary
#CFC492
accent
#C349DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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