#3A5EA9#3A5EA9

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

Color values

HEX#3A5EA9
RGBrgb(58, 94, 169)
HSLhsl(221, 49%, 45%)
HSVhsv(221, 66%, 66%)
CMYKcmyk(65.7%, 44.4%, 0%, 33.7%)
CIE-LABlab(40.85, 11.97, -44.17)
CIE-LCHlch(40.85, 45.77, 285.17°)
OKLaboklab(49.4% -0.015 -0.1261)
OKLCHoklch(49.4% 0.127 263.2)
XYZxyz(12.9065, 11.7683, 39.1198)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EA9 #A9853A
analogous
#3A96A9 #3A5EA9 #4E3AA9
triadic
#3A5EA9 #A93A5E #5EA93A
tetradic
#3A5EA9 #A93A96 #A9853A #3AA94E
square
#3A5EA9 #A93A96 #A9853A #3AA94E
split-complementary
#3A5EA9 #A94E3A #96A93A
monochromatic
#1B2B4E #2A457B #3A5EA9 #5A7DC6 #87A1D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A5EA9#FFFFFF#000000##FFFFFF
##3A5EA91.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AC
Deuteranopia (green-blind)
#285CA7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5ea9;
/* rgb */ color: rgb(58, 94, 169);
/* oklch */ color: oklch(49.4% 0.127 263.2);
Tailwind
colors: {
  custom: {
    50: '#7c8bc3',
    500: '#3a5ea9',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ea9;
$custom-light: #7c8bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ea9",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 220.541,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49403,
    "c": 0.12701,
    "h": 263.2
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#3A5EA9
secondary
#C0AB7F
accent
#AC4FD8
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A5EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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