#3A5BB5#3A5BB5

#3A5BB5 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.148 H 266.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#3A5BB5
RGBrgb(58, 91, 181)
HSLhsl(224, 51%, 47%)
HSVhsv(224, 68%, 71%)
CMYKcmyk(68%, 49.7%, 0%, 29%)
CIE-LABlab(40.76, 18.28, -51.37)
CIE-LCHlch(40.76, 54.53, 289.59°)
OKLaboklab(49.58% -0.0102 -0.1473)
OKLCHoklch(49.58% 0.148 266)
XYZxyz(13.8236, 11.7166, 45.2401)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BB5 #B5943A
analogous
#3A99B5 #3A5BB5 #563AB5
triadic
#3A5BB5 #B53A5B #5BB53A
tetradic
#3A5BB5 #B53A99 #B5943A #3AB556
square
#3A5BB5 #B53A99 #B5943A #3AB556
split-complementary
#3A5BB5 #B5563A #99B53A
monochromatic
#1C2C58 #2B4487 #3A5BB5 #607DCC #8EA3DB

Accessibility & contrast

On white

6.28
#3A5BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3A5BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BB5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BB5#FFFFFF#000000##FFFFFF
##3A5BB51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2966B8
Deuteranopia (green-blind)
#015BB3
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5bb5;
/* rgb */ color: rgb(58, 91, 181);
/* oklch */ color: oklch(49.6% 0.148 266.0);
Tailwind
colors: {
  custom: {
    50: '#7e88cc',
    500: '#3a5bb5',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bb5;
$custom-light: #7e88cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bb5",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 223.902,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.1477,
    "h": 266
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#3A5BB5
secondary
#C6B485
accent
#B54DDB
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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