#3B5BC9#3B5BC9

#3B5BC9 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.175 H 267.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3B5BC9
RGBrgb(59, 91, 201)
HSLhsl(226, 57%, 51%)
HSVhsv(226, 71%, 79%)
CMYKcmyk(70.6%, 54.7%, 0%, 21.2%)
CIE-LABlab(42.20, 25.71, -60.70)
CIE-LCHlch(42.20, 65.92, 292.96°)
OKLaboklab(51.12% -0.0075 -0.1747)
OKLCHoklch(51.12% 0.175 267.5)
XYZxyz(16.0837, 12.6274, 56.8367)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5BC9 #C9A93B
analogous
#3BA2C9 #3B5BC9 #623BC9
triadic
#3B5BC9 #C93B5B #5BC93B
tetradic
#3B5BC9 #C93BA2 #C9A93B #3BC962
square
#3B5BC9 #C93BA2 #C9A93B #3BC962
split-complementary
#3B5BC9 #C9623B #A2C93B
monochromatic
#1E2F6C #2B449C #3B5BC9 #6B83D6 #9BABE3

Accessibility & contrast

On white

5.96
#3B5BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3B5BC9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5BC9#FFFFFF#000000##FFFFFF
##3B5BC91.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3b5bc9;
/* rgb */ color: rgb(59, 91, 201);
/* oklch */ color: oklch(51.1% 0.175 267.5);
Tailwind
colors: {
  custom: {
    50: '#8389da',
    500: '#3b5bc9',
    950: '#000000',
  },
}
SCSS
$custom: #3b5bc9;
$custom-light: #8389da;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5bc9",
  "rgb": {
    "r": 59,
    "g": 91,
    "b": 201
  },
  "hsl": {
    "h": 226.479,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51123,
    "c": 0.17491,
    "h": 267.5
  },
  "luminance": 0.12629
}

Semantic roles & 50–950 ramp

primary
#3B5BC9
secondary
#CFC190
accent
#BE48E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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