#3A5EDA#3A5EDA

#3A5EDA is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.194 H 267.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#3A5EDA
RGBrgb(58, 94, 218)
HSLhsl(227, 68%, 54%)
HSVhsv(227, 73%, 85%)
CMYKcmyk(73.4%, 56.9%, 0%, 14.5%)
CIE-LABlab(44.18, 29.83, -67.23)
CIE-LCHlch(44.18, 73.55, 293.93°)
OKLaboklab(53% -0.0098 -0.1939)
OKLCHoklch(53% 0.194 267.1)
XYZxyz(18.3981, 13.9649, 68.0419)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EDA #DAB63A
analogous
#3AAEDA #3A5EDA #663ADA
triadic
#3A5EDA #DA3A5E #5EDA3A
tetradic
#3A5EDA #DA3AAE #DAB63A #3ADA66
square
#3A5EDA #DA3AAE #DAB63A #3ADA66
split-complementary
#3A5EDA #DA663A #AEDA3A
monochromatic
#183081 #2243B5 #3A5EDA #6E88E4 #A1B2ED

Accessibility & contrast

On white

5.54
#3A5EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#3A5EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EDA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EDA#FFFFFF#000000##FFFFFF
##3A5EDA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3a5eda;
/* rgb */ color: rgb(58, 94, 218);
/* oklch */ color: oklch(53.0% 0.194 267.1);
Tailwind
colors: {
  custom: {
    50: '#868be6',
    500: '#3a5eda',
    950: '#000000',
  },
}
SCSS
$custom: #3a5eda;
$custom-light: #868be6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5eda",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 226.5,
    "s": 68.376,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52998,
    "c": 0.19418,
    "h": 267.1
  },
  "luminance": 0.13967
}

Semantic roles & 50–950 ramp

primary
#3A5EDA
secondary
#DACB96
accent
#C43DEB
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3A5EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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