#3B5FAA#3B5FAA

#3B5FAA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.7% C 0.127 H 263.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#3B5FAA
RGBrgb(59, 95, 170)
HSLhsl(221, 48%, 45%)
HSVhsv(221, 65%, 67%)
CMYKcmyk(65.3%, 44.1%, 0%, 33.3%)
CIE-LABlab(41.24, 11.87, -44.13)
CIE-LCHlch(41.24, 45.70, 285.06°)
OKLaboklab(49.74% -0.0149 -0.126)
OKLCHoklch(49.74% 0.127 263.2)
XYZxyz(13.1490, 12.0153, 39.6486)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FAA #AA863B
analogous
#3B96AA #3B5FAA #4F3BAA
triadic
#3B5FAA #AA3B5F #5FAA3B
tetradic
#3B5FAA #AA3B96 #AA863B #3BAA4F
square
#3B5FAA #AA3B96 #AA863B #3BAA4F
split-complementary
#3B5FAA #AA4F3B #96AA3B
monochromatic
#1B2C4F #2B467D #3B5FAA #5C7EC6 #89A2D6

Accessibility & contrast

On white

6.17
#3B5FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3B5FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FAA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FAA#FFFFFF#000000##FFFFFF
##3B5FAA1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AD
Deuteranopia (green-blind)
#2A5DA8
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3b5faa;
/* rgb */ color: rgb(59, 95, 170);
/* oklch */ color: oklch(49.7% 0.127 263.2);
Tailwind
colors: {
  custom: {
    50: '#7c8cc4',
    500: '#3b5faa',
    950: '#000000',
  },
}
SCSS
$custom: #3b5faa;
$custom-light: #7c8cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5faa",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 220.541,
    "s": 48.472,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49739,
    "c": 0.12684,
    "h": 263.2
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

primary
#3B5FAA
secondary
#C0AC80
accent
#AC50D8
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3B5FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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