#3A5FD3#3A5FD3

#3A5FD3 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.184 H 266.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#3A5FD3
RGBrgb(58, 95, 211)
HSLhsl(225, 63%, 53%)
HSVhsv(225, 73%, 83%)
CMYKcmyk(72.5%, 55%, 0%, 17.3%)
CIE-LABlab(43.92, 26.65, -63.65)
CIE-LCHlch(43.92, 69.00, 292.72°)
OKLaboklab(52.64% -0.0109 -0.1834)
OKLCHoklch(52.64% 0.184 266.6)
XYZxyz(17.5909, 13.7852, 63.3491)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5FD3 #D3AE3A
analogous
#3AACD3 #3A5FD3 #613AD3
triadic
#3A5FD3 #D33A5F #5FD33A
tetradic
#3A5FD3 #D33AAC #D3AE3A #3AD361
square
#3A5FD3 #D33AAC #D3AE3A #3AD361
split-complementary
#3A5FD3 #D3613A #ACD33A
monochromatic
#1B3178 #2646AA #3A5FD3 #6C88DE #9EB0E9

Accessibility & contrast

On white

5.59
#3A5FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3A5FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5FD3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5FD3#FFFFFF#000000##FFFFFF
##3A5FD31.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3a5fd3;
/* rgb */ color: rgb(58, 95, 211);
/* oklch */ color: oklch(52.6% 0.184 266.6);
Tailwind
colors: {
  custom: {
    50: '#848be1',
    500: '#3a5fd3',
    950: '#000000',
  },
}
SCSS
$custom: #3a5fd3;
$custom-light: #848be1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5fd3",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 225.49,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5264,
    "c": 0.18371,
    "h": 266.6
  },
  "luminance": 0.13787
}

Semantic roles & 50–950 ramp

primary
#3A5FD3
secondary
#D6C693
accent
#BF41E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A5FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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