#3B5ECD#3B5ECD

#3B5ECD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.0% C 0.177 H 266.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#3B5ECD
RGBrgb(59, 94, 205)
HSLhsl(226, 59%, 52%)
HSVhsv(226, 71%, 80%)
CMYKcmyk(71.2%, 54.1%, 0%, 19.6%)
CIE-LABlab(43.27, 25.24, -61.26)
CIE-LCHlch(43.27, 66.25, 292.39°)
OKLaboklab(52.03% -0.0097 -0.1764)
OKLCHoklch(52.03% 0.177 266.9)
XYZxyz(16.8219, 13.3412, 59.4343)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5ECD #CDAA3B
analogous
#3BA7CD #3B5ECD #613BCD
triadic
#3B5ECD #CD3B5E #5ECD3B
tetradic
#3B5ECD #CD3BA7 #CDAA3B #3BCD61
square
#3B5ECD #CD3BA7 #CDAA3B #3BCD61
split-complementary
#3B5ECD #CD613B #A7CD3B
monochromatic
#1D3171 #2946A2 #3B5ECD #6C86D9 #9DAEE6

Accessibility & contrast

On white

5.72
#3B5ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3B5ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5ECD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5ECD#FFFFFF#000000##FFFFFF
##3B5ECD1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3b5ecd;
/* rgb */ color: rgb(59, 94, 205);
/* oklch */ color: oklch(52.0% 0.177 266.9);
Tailwind
colors: {
  custom: {
    50: '#838bdd',
    500: '#3b5ecd',
    950: '#000000',
  },
}
SCSS
$custom: #3b5ecd;
$custom-light: #838bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5ecd",
  "rgb": {
    "r": 59,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 225.616,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52026,
    "c": 0.17662,
    "h": 266.9
  },
  "luminance": 0.13343
}

Semantic roles & 50–950 ramp

primary
#3B5ECD
secondary
#D2C392
accent
#BD45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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