#3B5FC8#3B5FC8

#3B5FC8 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.8% C 0.169 H 266.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#3B5FC8
RGBrgb(59, 95, 200)
HSLhsl(225, 56%, 51%)
HSVhsv(225, 71%, 78%)
CMYKcmyk(70.5%, 52.5%, 0%, 21.6%)
CIE-LABlab(43.19, 22.78, -58.52)
CIE-LCHlch(43.19, 62.79, 291.27°)
OKLaboklab(51.85% -0.0109 -0.1683)
OKLCHoklch(51.85% 0.169 266.3)
XYZxyz(16.3175, 13.2827, 56.3362)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FC8 #C8A43B
analogous
#3BA5C8 #3B5FC8 #5D3BC8
triadic
#3B5FC8 #C83B5F #5FC83B
tetradic
#3B5FC8 #C83BA5 #C8A43B #3BC85D
square
#3B5FC8 #C83BA5 #C8A43B #3BC85D
split-complementary
#3B5FC8 #C85D3B #A5C83B
monochromatic
#1E326B #2B489A #3B5FC8 #6B86D5 #9BADE3

Accessibility & contrast

On white

5.74
#3B5FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3B5FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FC8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FC8#FFFFFF#000000##FFFFFF
##3B5FC81.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176DCC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3b5fc8;
/* rgb */ color: rgb(59, 95, 200);
/* oklch */ color: oklch(51.8% 0.169 266.3);
Tailwind
colors: {
  custom: {
    50: '#828bd9',
    500: '#3b5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fc8;
$custom-light: #828bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fc8",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 224.681,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51848,
    "c": 0.16863,
    "h": 266.3
  },
  "luminance": 0.13284
}

Semantic roles & 50–950 ramp

primary
#3B5FC8
secondary
#CFBF90
accent
#B948DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3B5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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