#3D5ECA#3D5ECA

#3D5ECA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.172 H 267.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#3D5ECA
RGBrgb(61, 94, 202)
HSLhsl(226, 57%, 52%)
HSVhsv(226, 70%, 79%)
CMYKcmyk(69.8%, 53.5%, 0%, 20.8%)
CIE-LABlab(43.15, 24.43, -59.72)
CIE-LCHlch(43.15, 64.52, 292.25°)
OKLaboklab(51.89% -0.0081 -0.1718)
OKLCHoklch(51.89% 0.172 267.3)
XYZxyz(16.5841, 13.2601, 57.5511)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5ECA #CAA93D
analogous
#3DA5CA #3D5ECA #633DCA
triadic
#3D5ECA #CA3D5E #5ECA3D
tetradic
#3D5ECA #CA3DA5 #CAA93D #3DCA63
square
#3D5ECA #CA3DA5 #CAA93D #3DCA63
split-complementary
#3D5ECA #CA633D #A5CA3D
monochromatic
#1E316E #2B469F #3D5ECA #6D86D7 #9DAEE4

Accessibility & contrast

On white

5.75
#3D5ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3D5ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5ECA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5ECA#FFFFFF#000000##FFFFFF
##3D5ECA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6DCE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3d5eca;
/* rgb */ color: rgb(61, 94, 202);
/* oklch */ color: oklch(51.9% 0.172 267.3);
Tailwind
colors: {
  custom: {
    50: '#838bdb',
    500: '#3d5eca',
    950: '#000000',
  },
}
SCSS
$custom: #3d5eca;
$custom-light: #838bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5eca",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 225.957,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.17199,
    "h": 267.3
  },
  "luminance": 0.13262
}

Semantic roles & 50–950 ramp

primary
#3D5ECA
secondary
#D0C292
accent
#BD47E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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