#3A5ABD#3A5ABD

#3A5ABD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.160 H 267.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#3A5ABD
RGBrgb(58, 90, 189)
HSLhsl(225, 53%, 48%)
HSVhsv(225, 69%, 74%)
CMYKcmyk(69.3%, 52.4%, 0%, 25.9%)
CIE-LABlab(41.03, 21.85, -55.62)
CIE-LCHlch(41.03, 59.76, 291.45°)
OKLaboklab(49.96% -0.0085 -0.1598)
OKLCHoklch(49.96% 0.16 267)
XYZxyz(14.5832, 11.8845, 49.6596)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5ABD #BD9D3A
analogous
#3A9BBD #3A5ABD #5C3ABD
triadic
#3A5ABD #BD3A5A #5ABD3A
tetradic
#3A5ABD #BD3A9B #BD9D3A #3ABD5C
square
#3A5ABD #BD3A9B #BD9D3A #3ABD5C
split-complementary
#3A5ABD #BD5C3A #9BBD3A
monochromatic
#1D2D5F #2C448E #3A5ABD #657FD0 #93A6DE

Accessibility & contrast

On white

6.22
#3A5ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3A5ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5ABD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5ABD#FFFFFF#000000##FFFFFF
##3A5ABD1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a5abd;
/* rgb */ color: rgb(58, 90, 189);
/* oklch */ color: oklch(50.0% 0.160 267.0);
Tailwind
colors: {
  custom: {
    50: '#8088d2',
    500: '#3a5abd',
    950: '#000000',
  },
}
SCSS
$custom: #3a5abd;
$custom-light: #8088d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5abd",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 225.344,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49962,
    "c": 0.16007,
    "h": 267
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#3A5ABD
secondary
#C9BA8A
accent
#B94BDC
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A5ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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