#3B5ED1#3B5ED1

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

Color values

HEX#3B5ED1
RGBrgb(59, 94, 209)
HSLhsl(226, 62%, 53%)
HSVhsv(226, 72%, 82%)
CMYKcmyk(71.8%, 55%, 0%, 18%)
CIE-LABlab(43.56, 26.69, -63.09)
CIE-LCHlch(43.56, 68.50, 292.93°)
OKLaboklab(52.33% -0.0094 -0.1817)
OKLCHoklch(52.33% 0.182 267)
XYZxyz(17.3110, 13.5369, 62.0098)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5ED1 #D1AE3B
analogous
#3BA9D1 #3B5ED1 #633BD1
triadic
#3B5ED1 #D13B5E #5ED13B
tetradic
#3B5ED1 #D13BA9 #D1AE3B #3BD163
square
#3B5ED1 #D13BA9 #D1AE3B #3BD163
split-complementary
#3B5ED1 #D1633B #A9D13B
monochromatic
#1C3176 #2745A7 #3B5ED1 #6D87DD #9EAFE8

Accessibility & contrast

On white

5.66
#3B5ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3B5ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5ED1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5ED1#FFFFFF#000000##FFFFFF
##3B5ED11.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3b5ed1;
/* rgb */ color: rgb(59, 94, 209);
/* oklch */ color: oklch(52.3% 0.182 267.0);
Tailwind
colors: {
  custom: {
    50: '#848be0',
    500: '#3b5ed1',
    950: '#000000',
  },
}
SCSS
$custom: #3b5ed1;
$custom-light: #848be0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5ed1",
  "rgb": {
    "r": 59,
    "g": 94,
    "b": 209
  },
  "hsl": {
    "h": 226,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52334,
    "c": 0.18198,
    "h": 267
  },
  "luminance": 0.13539
}

Semantic roles & 50–950 ramp

primary
#3B5ED1
secondary
#D4C593
accent
#BF43E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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