#3A5DBF#3A5DBF

#3A5DBF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.159 H 266.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#3A5DBF
RGBrgb(58, 93, 191)
HSLhsl(224, 53%, 49%)
HSVhsv(224, 70%, 75%)
CMYKcmyk(69.6%, 51.3%, 0%, 25.1%)
CIE-LABlab(41.98, 20.64, -55.25)
CIE-LCHlch(41.98, 58.98, 290.48°)
OKLaboklab(50.73% -0.0109 -0.1587)
OKLCHoklch(50.73% 0.159 266.1)
XYZxyz(15.0600, 12.4883, 50.8969)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DBF #BF9C3A
analogous
#3AA0BF #3A5DBF #5A3ABF
triadic
#3A5DBF #BF3A5D #5DBF3A
tetradic
#3A5DBF #BF3AA0 #BF9C3A #3ABF5A
square
#3A5DBF #BF3AA0 #BF9C3A #3ABF5A
split-complementary
#3A5DBF #BF5A3A #A0BF3A
monochromatic
#1D2F61 #2C4690 #3A5DBF #6682D0 #95A8DF

Accessibility & contrast

On white

6.00
#3A5DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3A5DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DBF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DBF#FFFFFF#000000##FFFFFF
##3A5DBF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a5dbf;
/* rgb */ color: rgb(58, 93, 191);
/* oklch */ color: oklch(50.7% 0.159 266.1);
Tailwind
colors: {
  custom: {
    50: '#808ad3',
    500: '#3a5dbf',
    950: '#000000',
  },
}
SCSS
$custom: #3a5dbf;
$custom-light: #808ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5dbf",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 224.211,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.15908,
    "h": 266.1
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#3A5DBF
secondary
#CAB98B
accent
#B64BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3A5DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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