#3A5FDA#3A5FDA

#3A5FDA is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.2% C 0.193 H 266.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#3A5FDA
RGBrgb(58, 95, 218)
HSLhsl(226, 68%, 54%)
HSVhsv(226, 73%, 85%)
CMYKcmyk(73.4%, 56.4%, 0%, 14.5%)
CIE-LABlab(44.44, 29.19, -66.81)
CIE-LCHlch(44.44, 72.91, 293.60°)
OKLaboklab(53.19% -0.0105 -0.1927)
OKLCHoklch(53.19% 0.193 266.9)
XYZxyz(18.4876, 14.1439, 68.0718)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5FDA #DAB53A
analogous
#3AAFDA #3A5FDA #653ADA
triadic
#3A5FDA #DA3A5F #5FDA3A
tetradic
#3A5FDA #DA3AAF #DAB53A #3ADA65
square
#3A5FDA #DA3AAF #DAB53A #3ADA65
split-complementary
#3A5FDA #DA653A #AFDA3A
monochromatic
#183181 #2244B5 #3A5FDA #6E89E4 #A1B3ED

Accessibility & contrast

On white

5.48
#3A5FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#3A5FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5FDA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5FDA#FFFFFF#000000##FFFFFF
##3A5FDA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a5fda;
/* rgb */ color: rgb(58, 95, 218);
/* oklch */ color: oklch(53.2% 0.193 266.9);
Tailwind
colors: {
  custom: {
    50: '#868be6',
    500: '#3a5fda',
    950: '#000000',
  },
}
SCSS
$custom: #3a5fda;
$custom-light: #868be6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5fda",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 226.125,
    "s": 68.376,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.19298,
    "h": 266.9
  },
  "luminance": 0.14146
}

Semantic roles & 50–950 ramp

primary
#3A5FDA
secondary
#DACA96
accent
#C33DEB
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3A5FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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