#3A5BB6#3A5BB6

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

Color values

HEX#3A5BB6
RGBrgb(58, 91, 182)
HSLhsl(224, 52%, 47%)
HSVhsv(224, 68%, 71%)
CMYKcmyk(68.1%, 50%, 0%, 28.6%)
CIE-LABlab(40.83, 18.65, -51.85)
CIE-LCHlch(40.83, 55.10, 289.78°)
OKLaboklab(49.66% -0.0101 -0.1488)
OKLCHoklch(49.66% 0.149 266.1)
XYZxyz(13.9266, 11.7577, 45.7824)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BB6 #B6953A
analogous
#3A99B6 #3A5BB6 #573AB6
triadic
#3A5BB6 #B63A5B #5BB63A
tetradic
#3A5BB6 #B63A99 #B6953A #3AB657
square
#3A5BB6 #B63A99 #B6953A #3AB657
split-complementary
#3A5BB6 #B6573A #99B63A
monochromatic
#1C2D59 #2B4488 #3A5BB6 #617DCD #8FA3DB

Accessibility & contrast

On white

6.27
#3A5BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3A5BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BB6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BB6#FFFFFF#000000##FFFFFF
##3A5BB61.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2766B9
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5bb6;
/* rgb */ color: rgb(58, 91, 182);
/* oklch */ color: oklch(49.7% 0.149 266.1);
Tailwind
colors: {
  custom: {
    50: '#7e88cc',
    500: '#3a5bb6',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bb6;
$custom-light: #7e88cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bb6",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 182
  },
  "hsl": {
    "h": 224.032,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.1491,
    "h": 266.1
  },
  "luminance": 0.11759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A5BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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