#3A5FD9#3A5FD9

#3A5FD9 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.1% C 0.192 H 266.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#3A5FD9
RGBrgb(58, 95, 217)
HSLhsl(226, 68%, 54%)
HSVhsv(226, 73%, 85%)
CMYKcmyk(73.3%, 56.2%, 0%, 14.9%)
CIE-LABlab(44.36, 28.83, -66.36)
CIE-LCHlch(44.36, 72.35, 293.48°)
OKLaboklab(53.11% -0.0106 -0.1914)
OKLCHoklch(53.11% 0.192 266.8)
XYZxyz(18.3571, 14.0917, 67.3847)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5FD9 #D9B43A
analogous
#3AAFD9 #3A5FD9 #653AD9
triadic
#3A5FD9 #D93A5F #5FD93A
tetradic
#3A5FD9 #D93AAF #D9B43A #3AD965
square
#3A5FD9 #D93AAF #D9B43A #3AD965
split-complementary
#3A5FD9 #D9653A #AFD93A
monochromatic
#193180 #2344B3 #3A5FD9 #6D89E3 #A1B2ED

Accessibility & contrast

On white

5.50
#3A5FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#3A5FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5FD9
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5FD9#FFFFFF#000000##FFFFFF
##3A5FD91.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3a5fd9;
/* rgb */ color: rgb(58, 95, 217);
/* oklch */ color: oklch(53.1% 0.192 266.8);
Tailwind
colors: {
  custom: {
    50: '#858be6',
    500: '#3a5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #3a5fd9;
$custom-light: #858be6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5fd9",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 226.038,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5311,
    "c": 0.19166,
    "h": 266.8
  },
  "luminance": 0.14094
}

Semantic roles & 50–950 ramp

primary
#3A5FD9
secondary
#D9CA95
accent
#C23DEB
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3A5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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