#3A558E#3A558E

#3A558E is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.7% C 0.099 H 263.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#3A558E
RGBrgb(58, 85, 142)
HSLhsl(221, 42%, 39%)
HSVhsv(221, 59%, 56%)
CMYKcmyk(59.2%, 40.1%, 0%, 44.3%)
CIE-LABlab(36.65, 8.12, -34.68)
CIE-LCHlch(36.65, 35.62, 283.18°)
OKLaboklab(45.65% -0.0107 -0.0984)
OKLCHoklch(45.65% 0.099 263.8)
XYZxyz(9.8742, 9.3487, 26.8701)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A558E #8E733A
analogous
#3A7F8E #3A558E #493A8E
triadic
#3A558E #8E3A55 #558E3A
tetradic
#3A558E #8E3A7F #8E733A #3A8E49
square
#3A558E #8E3A7F #8E733A #3A8E49
split-complementary
#3A558E #8E493A #7F8E3A
monochromatic
#172137 #283B63 #3A558E #4E70B7 #7A93C9

Accessibility & contrast

On white

7.32
#3A558E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3A558E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A558E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A558E#FFFFFF#000000##FFFFFF
##3A558E1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A90
Deuteranopia (green-blind)
#32538D
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a558e;
/* rgb */ color: rgb(58, 85, 142);
/* oklch */ color: oklch(45.7% 0.099 263.8);
Tailwind
colors: {
  custom: {
    50: '#7784af',
    500: '#3a558e',
    950: '#000000',
  },
}
SCSS
$custom: #3a558e;
$custom-light: #7784af;
$custom-dark: #000000;
JSON
{
  "hex": "#3a558e",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 142
  },
  "hsl": {
    "h": 220.714,
    "s": 42,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45652,
    "c": 0.09897,
    "h": 263.8
  },
  "luminance": 0.0935
}

Semantic roles & 50–950 ramp

primary
#3A558E
secondary
#B29D72
accent
#AA56D2
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3A558E

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

Preview Lab → · Contrast checker → · Palette generator →

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