#3A5EA6#3A5EA6

#3A5EA6 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.2% C 0.123 H 262.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#3A5EA6
RGBrgb(58, 94, 166)
HSLhsl(220, 48%, 44%)
HSVhsv(220, 65%, 65%)
CMYKcmyk(65.1%, 43.4%, 0%, 34.9%)
CIE-LABlab(40.67, 10.89, -42.68)
CIE-LCHlch(40.67, 44.05, 284.31°)
OKLaboklab(49.21% -0.0156 -0.1217)
OKLCHoklch(49.21% 0.123 262.7)
XYZxyz(12.6281, 11.6569, 37.6535)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EA6 #A6823A
analogous
#3A94A6 #3A5EA6 #4C3AA6
triadic
#3A5EA6 #A63A5E #5EA63A
tetradic
#3A5EA6 #A63A94 #A6823A #3AA64C
square
#3A5EA6 #A63A94 #A6823A #3AA64C
split-complementary
#3A5EA6 #A64C3A #94A63A
monochromatic
#1A2B4B #2A4479 #3A5EA6 #587DC5 #86A0D5

Accessibility & contrast

On white

6.30
#3A5EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3A5EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EA6
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EA6#FFFFFF#000000##FFFFFF
##3A5EA61.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A9
Deuteranopia (green-blind)
#2C5BA5
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5ea6;
/* rgb */ color: rgb(58, 94, 166);
/* oklch */ color: oklch(49.2% 0.123 262.7);
Tailwind
colors: {
  custom: {
    50: '#7b8bc1',
    500: '#3a5ea6',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ea6;
$custom-light: #7b8bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ea6",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 220,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49206,
    "c": 0.12274,
    "h": 262.7
  },
  "luminance": 0.11658
}

Semantic roles & 50–950 ramp

primary
#3A5EA6
secondary
#BFA97D
accent
#AB50D8
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A5EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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