#3A5DC3#3A5DC3

#3A5DC3 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.165 H 266.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3A5DC3
RGBrgb(58, 93, 195)
HSLhsl(225, 54%, 50%)
HSVhsv(225, 70%, 76%)
CMYKcmyk(70.3%, 52.3%, 0%, 23.5%)
CIE-LABlab(42.26, 22.10, -57.13)
CIE-LCHlch(42.26, 61.25, 291.15°)
OKLaboklab(51.02% -0.0105 -0.1642)
OKLCHoklch(51.02% 0.165 266.3)
XYZxyz(15.5062, 12.6668, 53.2469)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DC3 #C3A03A
analogous
#3AA1C3 #3A5DC3 #5C3AC3
triadic
#3A5DC3 #C33A5D #5DC33A
tetradic
#3A5DC3 #C33AA1 #C3A03A #3AC35C
square
#3A5DC3 #C33AA1 #C3A03A #3AC35C
split-complementary
#3A5DC3 #C35C3A #A1C33A
monochromatic
#1E3065 #2C4794 #3A5DC3 #6883D2 #97AAE0

Accessibility & contrast

On white

5.94
#3A5DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3A5DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DC3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DC3#FFFFFF#000000##FFFFFF
##3A5DC31.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196AC7
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a5dc3;
/* rgb */ color: rgb(58, 93, 195);
/* oklch */ color: oklch(51.0% 0.165 266.3);
Tailwind
colors: {
  custom: {
    50: '#818ad6',
    500: '#3a5dc3',
    950: '#000000',
  },
}
SCSS
$custom: #3a5dc3;
$custom-light: #818ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5dc3",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 195
  },
  "hsl": {
    "h": 224.672,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51022,
    "c": 0.16458,
    "h": 266.3
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#3A5DC3
secondary
#CCBC8D
accent
#B84ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A5DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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