#3A5AAE#3A5AAE

#3A5AAE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.139 H 265.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#3A5AAE
RGBrgb(58, 90, 174)
HSLhsl(223, 50%, 45%)
HSVhsv(223, 67%, 68%)
CMYKcmyk(66.7%, 48.3%, 0%, 31.8%)
CIE-LABlab(40.03, 16.38, -48.44)
CIE-LCHlch(40.03, 51.13, 288.68°)
OKLaboklab(48.88% -0.0102 -0.1387)
OKLCHoklch(48.88% 0.139 265.8)
XYZxyz(13.0384, 11.2666, 41.5237)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5AAE #AE8E3A
analogous
#3A94AE #3A5AAE #543AAE
triadic
#3A5AAE #AE3A5A #5AAE3A
tetradic
#3A5AAE #AE3A94 #AE8E3A #3AAE54
square
#3A5AAE #AE3A94 #AE8E3A #3AAE54
split-complementary
#3A5AAE #AE543A #94AE3A
monochromatic
#1B2B52 #2B4280 #3A5AAE #5C7AC9 #8AA0D8

Accessibility & contrast

On white

6.45
#3A5AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3A5AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5AAE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5AAE#FFFFFF#000000##FFFFFF
##3A5AAE1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#1459AC
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a5aae;
/* rgb */ color: rgb(58, 90, 174);
/* oklch */ color: oklch(48.9% 0.139 265.8);
Tailwind
colors: {
  custom: {
    50: '#7d88c7',
    500: '#3a5aae',
    950: '#000000',
  },
}
SCSS
$custom: #3a5aae;
$custom-light: #7d88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5aae",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 223.448,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48875,
    "c": 0.13911,
    "h": 265.8
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#3A5AAE
secondary
#C2B181
accent
#B34EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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