#3A5BBF#3A5BBF

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

Color values

HEX#3A5BBF
RGBrgb(58, 91, 191)
HSLhsl(225, 53%, 49%)
HSVhsv(225, 70%, 75%)
CMYKcmyk(69.6%, 52.4%, 0%, 25.1%)
CIE-LABlab(41.44, 21.93, -56.12)
CIE-LCHlch(41.44, 60.26, 291.34°)
OKLaboklab(50.32% -0.0092 -0.1613)
OKLCHoklch(50.32% 0.162 266.7)
XYZxyz(14.8867, 12.1418, 50.8392)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BBF #BF9E3A
analogous
#3A9EBF #3A5BBF #5C3ABF
triadic
#3A5BBF #BF3A5B #5BBF3A
tetradic
#3A5BBF #BF3A9E #BF9E3A #3ABF5C
square
#3A5BBF #BF3A9E #BF9E3A #3ABF5C
split-complementary
#3A5BBF #BF5C3A #9EBF3A
monochromatic
#1D2E61 #2C4590 #3A5BBF #6680D0 #95A7DF

Accessibility & contrast

On white

6.12
#3A5BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3A5BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BBF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BBF#FFFFFF#000000##FFFFFF
##3A5BBF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a5bbf;
/* rgb */ color: rgb(58, 91, 191);
/* oklch */ color: oklch(50.3% 0.162 266.7);
Tailwind
colors: {
  custom: {
    50: '#8088d3',
    500: '#3a5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bbf;
$custom-light: #8088d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bbf",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 225.113,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50315,
    "c": 0.16158,
    "h": 266.7
  },
  "luminance": 0.12143
}

Semantic roles & 50–950 ramp

primary
#3A5BBF
secondary
#CABA8B
accent
#B94BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3A5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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