#3A5BBD#3A5BBD

#3A5BBD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.159 H 266.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#3A5BBD
RGBrgb(58, 91, 189)
HSLhsl(225, 53%, 48%)
HSVhsv(225, 69%, 74%)
CMYKcmyk(69.3%, 51.9%, 0%, 25.9%)
CIE-LABlab(41.30, 21.20, -55.18)
CIE-LCHlch(41.30, 59.11, 291.02°)
OKLaboklab(50.17% -0.0094 -0.1585)
OKLCHoklch(50.17% 0.159 266.6)
XYZxyz(14.6681, 12.0544, 49.6879)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BBD #BD9C3A
analogous
#3A9CBD #3A5BBD #5A3ABD
triadic
#3A5BBD #BD3A5B #5BBD3A
tetradic
#3A5BBD #BD3A9C #BD9C3A #3ABD5A
square
#3A5BBD #BD3A9C #BD9C3A #3ABD5A
split-complementary
#3A5BBD #BD5A3A #9CBD3A
monochromatic
#1D2E5F #2C448E #3A5BBD #6580D0 #93A6DE

Accessibility & contrast

On white

6.16
#3A5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3A5BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BBD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BBD#FFFFFF#000000##FFFFFF
##3A5BBD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C0
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a5bbd;
/* rgb */ color: rgb(58, 91, 189);
/* oklch */ color: oklch(50.2% 0.159 266.6);
Tailwind
colors: {
  custom: {
    50: '#8088d1',
    500: '#3a5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bbd;
$custom-light: #8088d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bbd",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 224.885,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50167,
    "c": 0.15883,
    "h": 266.6
  },
  "luminance": 0.12056
}

Semantic roles & 50–950 ramp

primary
#3A5BBD
secondary
#C9B98A
accent
#B84BDC
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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