#3A5FD0#3A5FD0

#3A5FD0 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.180 H 266.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#3A5FD0
RGBrgb(58, 95, 208)
HSLhsl(225, 61%, 52%)
HSVhsv(225, 72%, 82%)
CMYKcmyk(72.1%, 54.3%, 0%, 18.4%)
CIE-LABlab(43.71, 25.56, -62.28)
CIE-LCHlch(43.71, 67.32, 292.31°)
OKLaboklab(52.41% -0.0111 -0.1794)
OKLCHoklch(52.41% 0.18 266.5)
XYZxyz(17.2183, 13.6362, 61.3869)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5FD0 #D0AB3A
analogous
#3AAAD0 #3A5FD0 #603AD0
triadic
#3A5FD0 #D03A5F #5FD03A
tetradic
#3A5FD0 #D03AAA #D0AB3A #3AD060
square
#3A5FD0 #D03AAA #D0AB3A #3AD060
split-complementary
#3A5FD0 #D0603A #AAD03A
monochromatic
#1C3174 #2747A5 #3A5FD0 #6B87DC #9DAFE8

Accessibility & contrast

On white

5.63
#3A5FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#3A5FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5FD0
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5FD0#FFFFFF#000000##FFFFFF
##3A5FD01.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a5fd0;
/* rgb */ color: rgb(58, 95, 208);
/* oklch */ color: oklch(52.4% 0.180 266.5);
Tailwind
colors: {
  custom: {
    50: '#838bdf',
    500: '#3a5fd0',
    950: '#000000',
  },
}
SCSS
$custom: #3a5fd0;
$custom-light: #838bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5fd0",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 208
  },
  "hsl": {
    "h": 225.2,
    "s": 61.475,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.17971,
    "h": 266.5
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

primary
#3A5FD0
secondary
#D4C392
accent
#BD43E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A5FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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