#3A5AB0#3A5AB0

#3A5AB0 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.142 H 266.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#3A5AB0
RGBrgb(58, 90, 176)
HSLhsl(224, 50%, 46%)
HSVhsv(224, 67%, 69%)
CMYKcmyk(67%, 48.9%, 0%, 31%)
CIE-LABlab(40.16, 17.11, -49.41)
CIE-LCHlch(40.16, 52.29, 289.10°)
OKLaboklab(49.02% -0.0099 -0.1416)
OKLCHoklch(49.02% 0.142 266)
XYZxyz(13.2348, 11.3452, 42.5582)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5AB0 #B0903A
analogous
#3A95B0 #3A5AB0 #553AB0
triadic
#3A5AB0 #B03A5A #5AB03A
tetradic
#3A5AB0 #B03A95 #B0903A #3AB055
square
#3A5AB0 #B03A95 #B0903A #3AB055
split-complementary
#3A5AB0 #B0553A #95B03A
monochromatic
#1C2B54 #2B4282 #3A5AB0 #5D7BCA #8BA0D9

Accessibility & contrast

On white

6.42
#3A5AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3A5AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5AB0
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5AB0#FFFFFF#000000##FFFFFF
##3A5AB01.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B3
Deuteranopia (green-blind)
#0E5AAE
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a5ab0;
/* rgb */ color: rgb(58, 90, 176);
/* oklch */ color: oklch(49.0% 0.142 266.0);
Tailwind
colors: {
  custom: {
    50: '#7d88c8',
    500: '#3a5ab0',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ab0;
$custom-light: #7d88c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ab0",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 176
  },
  "hsl": {
    "h": 223.729,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.14193,
    "h": 266
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#3A5AB0
secondary
#C3B282
accent
#B44EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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