#3B5FC7#3B5FC7

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

Color values

HEX#3B5FC7
RGBrgb(59, 95, 199)
HSLhsl(225, 56%, 51%)
HSVhsv(225, 70%, 78%)
CMYKcmyk(70.4%, 52.3%, 0%, 22%)
CIE-LABlab(43.12, 22.41, -58.05)
CIE-LCHlch(43.12, 62.23, 291.11°)
OKLaboklab(51.77% -0.011 -0.1669)
OKLCHoklch(51.77% 0.167 266.2)
XYZxyz(16.2010, 13.2361, 55.7228)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FC7 #C7A33B
analogous
#3BA5C7 #3B5FC7 #5D3BC7
triadic
#3B5FC7 #C73B5F #5FC73B
tetradic
#3B5FC7 #C73BA5 #C7A33B #3BC75D
square
#3B5FC7 #C73BA5 #C7A33B #3BC75D
split-complementary
#3B5FC7 #C75D3B #A5C73B
monochromatic
#1E3269 #2C4899 #3B5FC7 #6B86D5 #9AADE2

Accessibility & contrast

On white

5.76
#3B5FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3B5FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FC7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FC7#FFFFFF#000000##FFFFFF
##3B5FC71.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6DCB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3b5fc7;
/* rgb */ color: rgb(59, 95, 199);
/* oklch */ color: oklch(51.8% 0.167 266.2);
Tailwind
colors: {
  custom: {
    50: '#828bd9',
    500: '#3b5fc7',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fc7;
$custom-light: #828bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fc7",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 224.571,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51774,
    "c": 0.16727,
    "h": 266.2
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#3B5FC7
secondary
#CEBE90
accent
#B849DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3B5FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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