#3B5FA2#3B5FA2

#3B5FA2 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.2% C 0.115 H 261.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#3B5FA2
RGBrgb(59, 95, 162)
HSLhsl(219, 47%, 43%)
HSVhsv(219, 64%, 64%)
CMYKcmyk(63.6%, 41.4%, 0%, 36.5%)
CIE-LABlab(40.77, 8.99, -40.14)
CIE-LCHlch(40.77, 41.13, 282.63°)
OKLaboklab(49.22% -0.0165 -0.1142)
OKLCHoklch(49.22% 0.115 261.8)
XYZxyz(12.4151, 11.7217, 35.7837)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FA2 #A27E3B
analogous
#3B92A2 #3B5FA2 #4A3BA2
triadic
#3B5FA2 #A23B5F #5FA23B
tetradic
#3B5FA2 #A23B92 #A27E3B #3BA24A
square
#3B5FA2 #A23B92 #A27E3B #3BA24A
split-complementary
#3B5FA2 #A24A3B #92A23B
monochromatic
#1A2A48 #2B4575 #3B5FA2 #587DC2 #85A0D3

Accessibility & contrast

On white

6.28
#3B5FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3B5FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FA2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FA2#FFFFFF#000000##FFFFFF
##3B5FA21.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#325CA1
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3b5fa2;
/* rgb */ color: rgb(59, 95, 162);
/* oklch */ color: oklch(49.2% 0.115 261.8);
Tailwind
colors: {
  custom: {
    50: '#7b8cbe',
    500: '#3b5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fa2;
$custom-light: #7b8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fa2",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 219.029,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49224,
    "c": 0.11544,
    "h": 261.8
  },
  "luminance": 0.11723
}

Semantic roles & 50–950 ramp

primary
#3B5FA2
secondary
#BDA67C
accent
#A852D6
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3B5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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