#3B5FDA#3B5FDA

#3B5FDA is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.2% C 0.193 H 267.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#3B5FDA
RGBrgb(59, 95, 218)
HSLhsl(226, 68%, 54%)
HSVhsv(226, 73%, 85%)
CMYKcmyk(72.9%, 56.4%, 0%, 14.5%)
CIE-LABlab(44.48, 29.31, -66.74)
CIE-LCHlch(44.48, 72.89, 293.71°)
OKLaboklab(53.23% -0.0097 -0.1925)
OKLCHoklch(53.23% 0.193 267.1)
XYZxyz(18.5463, 14.1742, 68.0745)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FDA #DAB63B
analogous
#3BAFDA #3B5FDA #673BDA
triadic
#3B5FDA #DA3B5F #5FDA3B
tetradic
#3B5FDA #DA3BAF #DAB63B #3BDA67
square
#3B5FDA #DA3BAF #DAB63B #3BDA67
split-complementary
#3B5FDA #DA673B #AFDA3B
monochromatic
#193082 #2244B6 #3B5FDA #6E89E4 #A2B3ED

Accessibility & contrast

On white

5.48
#3B5FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#3B5FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FDA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FDA#FFFFFF#000000##FFFFFF
##3B5FDA1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3b5fda;
/* rgb */ color: rgb(59, 95, 218);
/* oklch */ color: oklch(53.2% 0.193 267.1);
Tailwind
colors: {
  custom: {
    50: '#868ce6',
    500: '#3b5fda',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fda;
$custom-light: #868ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fda",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 226.415,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53234,
    "c": 0.1927,
    "h": 267.1
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

primary
#3B5FDA
secondary
#DACB97
accent
#C43DEB
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3B5FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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