#3B5FC4#3B5FC4

#3B5FC4 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.163 H 266.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3B5FC4
RGBrgb(59, 95, 196)
HSLhsl(224, 54%, 50%)
HSVhsv(224, 70%, 77%)
CMYKcmyk(69.9%, 51.5%, 0%, 23.1%)
CIE-LABlab(42.91, 21.32, -56.65)
CIE-LCHlch(42.91, 60.53, 290.63°)
OKLaboklab(51.55% -0.0112 -0.1628)
OKLCHoklch(51.55% 0.163 266)
XYZxyz(15.8562, 13.0981, 53.9064)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FC4 #C4A03B
analogous
#3BA3C4 #3B5FC4 #5C3BC4
triadic
#3B5FC4 #C43B5F #5FC43B
tetradic
#3B5FC4 #C43BA3 #C4A03B #3BC45C
square
#3B5FC4 #C43BA3 #C4A03B #3BC45C
split-complementary
#3B5FC4 #C45C3B #A3C43B
monochromatic
#1F3166 #2D4895 #3B5FC4 #6A85D2 #99ACE0

Accessibility & contrast

On white

5.80
#3B5FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3B5FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FC4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FC4#FFFFFF#000000##FFFFFF
##3B5FC41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6CC8
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3b5fc4;
/* rgb */ color: rgb(59, 95, 196);
/* oklch */ color: oklch(51.6% 0.163 266.0);
Tailwind
colors: {
  custom: {
    50: '#818bd6',
    500: '#3b5fc4',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fc4;
$custom-light: #818bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fc4",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 224.234,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.51552,
    "c": 0.16317,
    "h": 266
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#3B5FC4
secondary
#CCBC8F
accent
#B74BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3B5FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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