#3B5ACD#3B5ACD

#3B5ACD is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.182 H 267.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#3B5ACD
RGBrgb(59, 90, 205)
HSLhsl(227, 59%, 52%)
HSVhsv(227, 71%, 80%)
CMYKcmyk(71.2%, 56.1%, 0%, 19.6%)
CIE-LABlab(42.23, 27.80, -62.95)
CIE-LCHlch(42.23, 68.82, 293.83°)
OKLaboklab(51.24% -0.0065 -0.1814)
OKLCHoklch(51.24% 0.182 267.9)
XYZxyz(16.4754, 12.6482, 59.3188)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5ACD #CDAE3B
analogous
#3BA3CD #3B5ACD #653BCD
triadic
#3B5ACD #CD3B5A #5ACD3B
tetradic
#3B5ACD #CD3BA3 #CDAE3B #3BCD65
square
#3B5ACD #CD3BA3 #CDAE3B #3BCD65
split-complementary
#3B5ACD #CD653B #A3CD3B
monochromatic
#1D2F71 #2943A2 #3B5ACD #6C83D9 #9DACE6

Accessibility & contrast

On white

5.95
#3B5ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3B5ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5ACD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5ACD#FFFFFF#000000##FFFFFF
##3B5ACD1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3b5acd;
/* rgb */ color: rgb(59, 90, 205);
/* oklch */ color: oklch(51.2% 0.182 267.9);
Tailwind
colors: {
  custom: {
    50: '#8388dd',
    500: '#3b5acd',
    950: '#000000',
  },
}
SCSS
$custom: #3b5acd;
$custom-light: #8388dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5acd",
  "rgb": {
    "r": 59,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 227.26,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5124,
    "c": 0.18152,
    "h": 267.9
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#3B5ACD
secondary
#D2C492
accent
#C145E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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