#3A5DAE#3A5DAE

#3A5DAE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.135 H 264.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#3A5DAE
RGBrgb(58, 93, 174)
HSLhsl(222, 50%, 45%)
HSVhsv(222, 67%, 68%)
CMYKcmyk(66.7%, 46.6%, 0%, 31.8%)
CIE-LABlab(40.87, 14.43, -47.09)
CIE-LCHlch(40.87, 49.25, 287.04°)
OKLaboklab(49.52% -0.0131 -0.1347)
OKLCHoklch(49.52% 0.135 264.4)
XYZxyz(13.2966, 11.7830, 41.6098)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DAE #AE8B3A
analogous
#3A97AE #3A5DAE #513AAE
triadic
#3A5DAE #AE3A5D #5DAE3A
tetradic
#3A5DAE #AE3A97 #AE8B3A #3AAE51
square
#3A5DAE #AE3A97 #AE8B3A #3AAE51
split-complementary
#3A5DAE #AE513A #97AE3A
monochromatic
#1B2C52 #2B4480 #3A5DAE #5C7DC9 #8AA2D8

Accessibility & contrast

On white

6.26
#3A5DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3A5DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DAE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DAE#FFFFFF#000000##FFFFFF
##3A5DAE1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#1E5BAC
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5dae;
/* rgb */ color: rgb(58, 93, 174);
/* oklch */ color: oklch(49.5% 0.135 264.4);
Tailwind
colors: {
  custom: {
    50: '#7d8ac7',
    500: '#3a5dae',
    950: '#000000',
  },
}
SCSS
$custom: #3a5dae;
$custom-light: #7d8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5dae",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 174
  },
  "hsl": {
    "h": 221.897,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4952,
    "c": 0.13534,
    "h": 264.4
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#3A5DAE
secondary
#C2AF81
accent
#B04EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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