#3B5ABA#3B5ABA

#3B5ABA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.156 H 267.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3B5ABA
RGBrgb(59, 90, 186)
HSLhsl(225, 52%, 48%)
HSVhsv(225, 68%, 73%)
CMYKcmyk(68.3%, 51.6%, 0%, 27.1%)
CIE-LABlab(40.87, 20.91, -54.12)
CIE-LCHlch(40.87, 58.02, 291.12°)
OKLaboklab(49.79% -0.0079 -0.1554)
OKLCHoklch(49.79% 0.156 267.1)
XYZxyz(14.3197, 11.7859, 47.9651)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5ABA #BA9B3B
analogous
#3B9ABA #3B5ABA #5B3BBA
triadic
#3B5ABA #BA3B5A #5ABA3B
tetradic
#3B5ABA #BA3B9A #BA9B3B #3BBA5B
square
#3B5ABA #BA3B9A #BA9B3B #3BBA5B
split-complementary
#3B5ABA #BA5B3B #9ABA3B
monochromatic
#1E2D5D #2C448C #3B5ABA #647ECE #93A5DD

Accessibility & contrast

On white

6.25
#3B5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3B5ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5ABA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5ABA#FFFFFF#000000##FFFFFF
##3B5ABA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F66BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3b5aba;
/* rgb */ color: rgb(59, 90, 186);
/* oklch */ color: oklch(49.8% 0.156 267.1);
Tailwind
colors: {
  custom: {
    50: '#8088cf',
    500: '#3b5aba',
    950: '#000000',
  },
}
SCSS
$custom: #3b5aba;
$custom-light: #8088cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5aba",
  "rgb": {
    "r": 59,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 225.354,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49789,
    "c": 0.15562,
    "h": 267.1
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#3B5ABA
secondary
#C8B889
accent
#B84DDB
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3B5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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