#3D57CB#3D57CB

#3D57CB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.182 H 269.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#3D57CB
RGBrgb(61, 87, 203)
HSLhsl(229, 58%, 52%)
HSVhsv(229, 70%, 80%)
CMYKcmyk(70%, 57.1%, 0%, 20.4%)
CIE-LABlab(41.40, 29.27, -63.13)
CIE-LCHlch(41.40, 69.59, 294.87°)
OKLaboklab(50.6% -0.0024 -0.1819)
OKLCHoklch(50.6% 0.182 269.3)
XYZxyz(16.1085, 12.1187, 57.9785)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D57CB #CBB13D
analogous
#3D9ECB #3D57CB #6A3DCB
triadic
#3D57CB #CB3D57 #57CB3D
tetradic
#3D57CB #CB3D9E #CBB13D #3DCB6A
square
#3D57CB #CB3D9E #CBB13D #3DCB6A
split-complementary
#3D57CB #CB6A3D #9ECB3D
monochromatic
#1E2D70 #2B40A0 #3D57CB #6D81D8 #9EABE5

Accessibility & contrast

On white

6.13
#3D57CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3D57CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D57CB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D57CB#FFFFFF#000000##FFFFFF
##3D57CB1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3d57cb;
/* rgb */ color: rgb(61, 87, 203);
/* oklch */ color: oklch(50.6% 0.182 269.3);
Tailwind
colors: {
  custom: {
    50: '#8486dc',
    500: '#3d57cb',
    950: '#000000',
  },
}
SCSS
$custom: #3d57cb;
$custom-light: #8486dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d57cb",
  "rgb": {
    "r": 61,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 229.014,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50602,
    "c": 0.18195,
    "h": 269.3
  },
  "luminance": 0.1212
}

Semantic roles & 50–950 ramp

primary
#3D57CB
secondary
#D1C693
accent
#C547E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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