#3A5DAD#3A5DAD

#3A5DAD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.134 H 264.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#3A5DAD
RGBrgb(58, 93, 173)
HSLhsl(222, 50%, 45%)
HSVhsv(222, 66%, 68%)
CMYKcmyk(66.5%, 46.2%, 0%, 32.2%)
CIE-LABlab(40.81, 14.07, -46.60)
CIE-LCHlch(40.81, 48.67, 286.80°)
OKLaboklab(49.45% -0.0133 -0.1333)
OKLCHoklch(49.45% 0.134 264.3)
XYZxyz(13.1995, 11.7441, 41.0983)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DAD #AD8A3A
analogous
#3A97AD #3A5DAD #503AAD
triadic
#3A5DAD #AD3A5D #5DAD3A
tetradic
#3A5DAD #AD3A97 #AD8A3A #3AAD50
square
#3A5DAD #AD3A97 #AD8A3A #3AAD50
split-complementary
#3A5DAD #AD503A #97AD3A
monochromatic
#1B2C51 #2B447F #3A5DAD #5C7DC8 #8AA1D8

Accessibility & contrast

On white

6.27
#3A5DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3A5DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DAD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DAD#FFFFFF#000000##FFFFFF
##3A5DAD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B0
Deuteranopia (green-blind)
#205BAB
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5dad;
/* rgb */ color: rgb(58, 93, 173);
/* oklch */ color: oklch(49.5% 0.134 264.3);
Tailwind
colors: {
  custom: {
    50: '#7c8ac6',
    500: '#3a5dad',
    950: '#000000',
  },
}
SCSS
$custom: #3a5dad;
$custom-light: #7c8ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5dad",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 173
  },
  "hsl": {
    "h": 221.739,
    "s": 49.784,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49452,
    "c": 0.13392,
    "h": 264.3
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#3A5DAD
secondary
#C2AE81
accent
#AF4ED9
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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