#3A5BBE#3A5BBE

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

Color values

HEX#3A5BBE
RGBrgb(58, 91, 190)
HSLhsl(225, 53%, 49%)
HSVhsv(225, 69%, 75%)
CMYKcmyk(69.5%, 52.1%, 0%, 25.5%)
CIE-LABlab(41.37, 21.57, -55.65)
CIE-LCHlch(41.37, 59.69, 291.18°)
OKLaboklab(50.24% -0.0093 -0.1599)
OKLCHoklch(50.24% 0.16 266.7)
XYZxyz(14.7770, 12.0979, 50.2616)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BBE #BE9D3A
analogous
#3A9DBE #3A5BBE #5B3ABE
triadic
#3A5BBE #BE3A5B #5BBE3A
tetradic
#3A5BBE #BE3A9D #BE9D3A #3ABE5B
square
#3A5BBE #BE3A9D #BE9D3A #3ABE5B
split-complementary
#3A5BBE #BE5B3A #9DBE3A
monochromatic
#1D2E60 #2C458F #3A5BBE #6580D0 #94A7DE

Accessibility & contrast

On white

6.14
#3A5BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3A5BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BBE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BBE#FFFFFF#000000##FFFFFF
##3A5BBE1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B68C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a5bbe;
/* rgb */ color: rgb(58, 91, 190);
/* oklch */ color: oklch(50.2% 0.160 266.7);
Tailwind
colors: {
  custom: {
    50: '#8088d2',
    500: '#3a5bbe',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bbe;
$custom-light: #8088d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bbe",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 225,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50241,
    "c": 0.16021,
    "h": 266.7
  },
  "luminance": 0.12099
}

Semantic roles & 50–950 ramp

primary
#3A5BBE
secondary
#CABA8A
accent
#B84BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3A5BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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