#3A5DAB#3A5DAB

#3A5DAB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.131 H 264.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#3A5DAB
RGBrgb(58, 93, 171)
HSLhsl(221, 49%, 45%)
HSVhsv(221, 66%, 67%)
CMYKcmyk(66.1%, 45.6%, 0%, 32.9%)
CIE-LABlab(40.68, 13.34, -45.61)
CIE-LCHlch(40.68, 47.53, 286.31°)
OKLaboklab(49.32% -0.0136 -0.1304)
OKLCHoklch(49.32% 0.131 264)
XYZxyz(13.0074, 11.6673, 40.0867)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DAB #AB883A
analogous
#3A96AB #3A5DAB #503AAB
triadic
#3A5DAB #AB3A5D #5DAB3A
tetradic
#3A5DAB #AB3A96 #AB883A #3AAB50
square
#3A5DAB #AB3A96 #AB883A #3AAB50
split-complementary
#3A5DAB #AB503A #96AB3A
monochromatic
#1B2B50 #2A447D #3A5DAB #5B7CC7 #89A1D7

Accessibility & contrast

On white

6.30
#3A5DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3A5DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DAB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DAB#FFFFFF#000000##FFFFFF
##3A5DAB1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AE
Deuteranopia (green-blind)
#235BA9
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5dab;
/* rgb */ color: rgb(58, 93, 171);
/* oklch */ color: oklch(49.3% 0.131 264.0);
Tailwind
colors: {
  custom: {
    50: '#7c8ac4',
    500: '#3a5dab',
    950: '#000000',
  },
}
SCSS
$custom: #3a5dab;
$custom-light: #7c8ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5dab",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 171
  },
  "hsl": {
    "h": 221.416,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49317,
    "c": 0.13108,
    "h": 264
  },
  "luminance": 0.11669
}

Semantic roles & 50–950 ramp

primary
#3A5DAB
secondary
#C1AD80
accent
#AE4FD9
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3A5DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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