#3D5ECF#3D5ECF

#3D5ECF is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.179 H 267.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#3D5ECF
RGBrgb(61, 94, 207)
HSLhsl(226, 60%, 53%)
HSVhsv(226, 71%, 81%)
CMYKcmyk(70.5%, 54.6%, 0%, 18.8%)
CIE-LABlab(43.51, 26.23, -62.02)
CIE-LCHlch(43.51, 67.34, 292.93°)
OKLaboklab(52.27% -0.0078 -0.1786)
OKLCHoklch(52.27% 0.179 267.5)
XYZxyz(17.1858, 13.5007, 60.7196)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5ECF #CFAE3D
analogous
#3DA7CF #3D5ECF #653DCF
triadic
#3D5ECF #CF3D5E #5ECF3D
tetradic
#3D5ECF #CF3DA7 #CFAE3D #3DCF65
square
#3D5ECF #CF3DA7 #CFAE3D #3DCF65
split-complementary
#3D5ECF #CF653D #A7CF3D
monochromatic
#1D3175 #2945A6 #3D5ECF #6E87DB #9FAFE7

Accessibility & contrast

On white

5.67
#3D5ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3D5ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5ECF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5ECF#FFFFFF#000000##FFFFFF
##3D5ECF1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3d5ecf;
/* rgb */ color: rgb(61, 94, 207);
/* oklch */ color: oklch(52.3% 0.179 267.5);
Tailwind
colors: {
  custom: {
    50: '#848bde',
    500: '#3d5ecf',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ecf;
$custom-light: #848bde;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ecf",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 226.438,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.17874,
    "h": 267.5
  },
  "luminance": 0.13503
}

Semantic roles & 50–950 ramp

primary
#3D5ECF
secondary
#D4C594
accent
#C044E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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