#3A5BB7#3A5BB7

#3A5BB7 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.150 H 266.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3A5BB7
RGBrgb(58, 91, 183)
HSLhsl(224, 52%, 47%)
HSVhsv(224, 68%, 72%)
CMYKcmyk(68.3%, 50.3%, 0%, 28.2%)
CIE-LABlab(40.90, 19.01, -52.33)
CIE-LCHlch(40.90, 55.68, 289.96°)
OKLaboklab(49.73% -0.01 -0.1502)
OKLCHoklch(49.73% 0.15 266.2)
XYZxyz(14.0303, 11.7992, 46.3286)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BB7 #B7963A
analogous
#3A9AB7 #3A5BB7 #583AB7
triadic
#3A5BB7 #B73A5B #5BB73A
tetradic
#3A5BB7 #B73A9A #B7963A #3AB758
square
#3A5BB7 #B73A9A #B7963A #3AB758
split-complementary
#3A5BB7 #B7583A #9AB73A
monochromatic
#1D2D5A #2B4489 #3A5BB7 #617ECD #90A4DC

Accessibility & contrast

On white

6.25
#3A5BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3A5BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BB7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BB7#FFFFFF#000000##FFFFFF
##3A5BB71.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2666BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5bb7;
/* rgb */ color: rgb(58, 91, 183);
/* oklch */ color: oklch(49.7% 0.150 266.2);
Tailwind
colors: {
  custom: {
    50: '#7e88cd',
    500: '#3a5bb7',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bb7;
$custom-light: #7e88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bb7",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 224.16,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49728,
    "c": 0.15049,
    "h": 266.2
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#3A5BB7
secondary
#C7B686
accent
#B64CDB
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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