#3A5BB1#3A5BB1

#3A5BB1 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.142 H 265.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#3A5BB1
RGBrgb(58, 91, 177)
HSLhsl(223, 51%, 46%)
HSVhsv(223, 67%, 69%)
CMYKcmyk(67.2%, 48.6%, 0%, 30.6%)
CIE-LABlab(40.50, 16.82, -49.45)
CIE-LCHlch(40.50, 52.23, 288.79°)
OKLaboklab(49.3% -0.0108 -0.1417)
OKLCHoklch(49.3% 0.142 265.7)
XYZxyz(13.4191, 11.5547, 43.1096)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BB1 #B1903A
analogous
#3A96B1 #3A5BB1 #543AB1
triadic
#3A5BB1 #B13A5B #5BB13A
tetradic
#3A5BB1 #B13A96 #B1903A #3AB154
square
#3A5BB1 #B13A96 #B1903A #3AB154
split-complementary
#3A5BB1 #B1543A #96B13A
monochromatic
#1C2C55 #2B4383 #3A5BB1 #5E7CCA #8CA1D9

Accessibility & contrast

On white

6.34
#3A5BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3A5BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BB1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BB1#FFFFFF#000000##FFFFFF
##3A5BB11.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B4
Deuteranopia (green-blind)
#105AAF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a5bb1;
/* rgb */ color: rgb(58, 91, 177);
/* oklch */ color: oklch(49.3% 0.142 265.7);
Tailwind
colors: {
  custom: {
    50: '#7d88c9',
    500: '#3a5bb1',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bb1;
$custom-light: #7d88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bb1",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 223.361,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49299,
    "c": 0.14208,
    "h": 265.7
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#3A5BB1
secondary
#C4B283
accent
#B34EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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