#3A5AAF#3A5AAF

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

Color values

HEX#3A5AAF
RGBrgb(58, 90, 175)
HSLhsl(224, 50%, 46%)
HSVhsv(224, 67%, 69%)
CMYKcmyk(66.9%, 48.6%, 0%, 31.4%)
CIE-LABlab(40.09, 16.74, -48.93)
CIE-LCHlch(40.09, 51.71, 288.89°)
OKLaboklab(48.95% -0.0101 -0.1401)
OKLCHoklch(48.95% 0.141 265.9)
XYZxyz(13.1363, 11.3058, 42.0391)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5AAF #AF8F3A
analogous
#3A94AF #3A5AAF #543AAF
triadic
#3A5AAF #AF3A5A #5AAF3A
tetradic
#3A5AAF #AF3A94 #AF8F3A #3AAF54
square
#3A5AAF #AF3A94 #AF8F3A #3AAF54
split-complementary
#3A5AAF #AF543A #94AF3A
monochromatic
#1C2B53 #2B4281 #3A5AAF #5D7BC9 #8BA0D9

Accessibility & contrast

On white

6.44
#3A5AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3A5AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5AAF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5AAF#FFFFFF#000000##FFFFFF
##3A5AAF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#1159AD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a5aaf;
/* rgb */ color: rgb(58, 90, 175);
/* oklch */ color: oklch(48.9% 0.141 265.9);
Tailwind
colors: {
  custom: {
    50: '#7d88c7',
    500: '#3a5aaf',
    950: '#000000',
  },
}
SCSS
$custom: #3a5aaf;
$custom-light: #7d88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5aaf",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 223.59,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48946,
    "c": 0.14051,
    "h": 265.9
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#3A5AAF
secondary
#C3B182
accent
#B44EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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