#3B5DCD#3B5DCD

#3B5DCD is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.178 H 267.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#3B5DCD
RGBrgb(59, 93, 205)
HSLhsl(226, 59%, 52%)
HSVhsv(226, 71%, 80%)
CMYKcmyk(71.2%, 54.6%, 0%, 19.6%)
CIE-LABlab(43.01, 25.88, -61.68)
CIE-LCHlch(43.01, 66.89, 292.76°)
OKLaboklab(51.83% -0.0089 -0.1776)
OKLCHoklch(51.83% 0.178 267.1)
XYZxyz(16.7336, 13.1646, 59.4049)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5DCD #CDAB3B
analogous
#3BA6CD #3B5DCD #623BCD
triadic
#3B5DCD #CD3B5D #5DCD3B
tetradic
#3B5DCD #CD3BA6 #CDAB3B #3BCD62
square
#3B5DCD #CD3BA6 #CDAB3B #3BCD62
split-complementary
#3B5DCD #CD623B #A6CD3B
monochromatic
#1D3071 #2945A2 #3B5DCD #6C85D9 #9DAEE6

Accessibility & contrast

On white

5.78
#3B5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3B5DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5DCD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5DCD#FFFFFF#000000##FFFFFF
##3B5DCD1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3b5dcd;
/* rgb */ color: rgb(59, 93, 205);
/* oklch */ color: oklch(51.8% 0.178 267.1);
Tailwind
colors: {
  custom: {
    50: '#838add',
    500: '#3b5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #3b5dcd;
$custom-light: #838add;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5dcd",
  "rgb": {
    "r": 59,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 226.027,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51828,
    "c": 0.17785,
    "h": 267.1
  },
  "luminance": 0.13166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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