#3A5ED0#3A5ED0

#3A5ED0 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.181 H 266.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3A5ED0
RGBrgb(58, 94, 208)
HSLhsl(226, 61%, 52%)
HSVhsv(226, 72%, 82%)
CMYKcmyk(72.1%, 54.8%, 0%, 18.4%)
CIE-LABlab(43.44, 26.20, -62.71)
CIE-LCHlch(43.44, 67.96, 292.67°)
OKLaboklab(52.21% -0.0103 -0.1806)
OKLCHoklch(52.21% 0.181 266.7)
XYZxyz(17.1288, 13.4572, 61.3571)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5ED0 #D0AC3A
analogous
#3AA9D0 #3A5ED0 #613AD0
triadic
#3A5ED0 #D03A5E #5ED03A
tetradic
#3A5ED0 #D03AA9 #D0AC3A #3AD061
square
#3A5ED0 #D03AA9 #D0AC3A #3AD061
split-complementary
#3A5ED0 #D0613A #A9D03A
monochromatic
#1C3174 #2746A5 #3A5ED0 #6B86DC #9DAFE8

Accessibility & contrast

On white

5.69
#3A5ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3A5ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5ED0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5ED0#FFFFFF#000000##FFFFFF
##3A5ED01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED4
Deuteranopia (green-blind)
#0060CE
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a5ed0;
/* rgb */ color: rgb(58, 94, 208);
/* oklch */ color: oklch(52.2% 0.181 266.7);
Tailwind
colors: {
  custom: {
    50: '#838bdf',
    500: '#3a5ed0',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ed0;
$custom-light: #838bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ed0",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 208
  },
  "hsl": {
    "h": 225.6,
    "s": 61.475,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52211,
    "c": 0.18093,
    "h": 266.7
  },
  "luminance": 0.13459
}

Semantic roles & 50–950 ramp

primary
#3A5ED0
secondary
#D4C492
accent
#BE43E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A5ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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