#3A559F#3A559F

#3A559F is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.124 H 266.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3A559F
RGBrgb(58, 85, 159)
HSLhsl(224, 47%, 43%)
HSVhsv(224, 64%, 62%)
CMYKcmyk(63.5%, 46.5%, 0%, 37.6%)
CIE-LABlab(37.66, 14.20, -43.32)
CIE-LCHlch(37.66, 45.58, 288.14°)
OKLaboklab(46.76% -0.0074 -0.1237)
OKLCHoklch(46.76% 0.124 266.6)
XYZxyz(11.2493, 9.8988, 34.1120)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A559F #9F843A
analogous
#3A889F #3A559F #513A9F
triadic
#3A559F #9F3A55 #559F3A
tetradic
#3A559F #9F3A88 #9F843A #3A9F51
square
#3A559F #9F3A88 #9F843A #3A9F51
split-complementary
#3A559F #9F513A #889F3A
monochromatic
#192545 #2A3D72 #3A559F #5572C1 #8297D1

Accessibility & contrast

On white

7.05
#3A559F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3A559F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A559F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A559F#FFFFFF#000000##FFFFFF
##3A559F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA2
Deuteranopia (green-blind)
#20549D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a559f;
/* rgb */ color: rgb(58, 85, 159);
/* oklch */ color: oklch(46.8% 0.124 266.6);
Tailwind
colors: {
  custom: {
    50: '#7a84bc',
    500: '#3a559f',
    950: '#000000',
  },
}
SCSS
$custom: #3a559f;
$custom-light: #7a84bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a559f",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 159
  },
  "hsl": {
    "h": 223.96,
    "s": 46.544,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46759,
    "c": 0.12396,
    "h": 266.6
  },
  "luminance": 0.099
}

Semantic roles & 50–950 ramp

primary
#3A559F
secondary
#BBAA7A
accent
#B352D6
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3A559F

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

Preview Lab → · Contrast checker → · Palette generator →

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