#3A588E#3A588E

#3A588E is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.3% C 0.095 H 261.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3A588E
RGBrgb(58, 88, 142)
HSLhsl(219, 42%, 39%)
HSVhsv(219, 59%, 56%)
CMYKcmyk(59.2%, 38%, 0%, 44.3%)
CIE-LABlab(37.54, 6.18, -33.27)
CIE-LCHlch(37.54, 33.84, 280.53°)
OKLaboklab(46.34% -0.0143 -0.0942)
OKLCHoklch(46.34% 0.095 261.4)
XYZxyz(10.1154, 9.8311, 26.9505)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A588E #8E703A
analogous
#3A828E #3A588E #463A8E
triadic
#3A588E #8E3A58 #588E3A
tetradic
#3A588E #8E3A82 #8E703A #3A8E46
square
#3A588E #8E3A82 #8E703A #3A8E46
split-complementary
#3A588E #8E463A #828E3A
monochromatic
#172237 #283D63 #3A588E #4E74B7 #7A96C9

Accessibility & contrast

On white

7.08
#3A588E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3A588E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A588E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A588E#FFFFFF#000000##FFFFFF
##3A588E1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D90
Deuteranopia (green-blind)
#37558D
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a588e;
/* rgb */ color: rgb(58, 88, 142);
/* oklch */ color: oklch(46.3% 0.095 261.4);
Tailwind
colors: {
  custom: {
    50: '#7786af',
    500: '#3a588e',
    950: '#000000',
  },
}
SCSS
$custom: #3a588e;
$custom-light: #7786af;
$custom-dark: #000000;
JSON
{
  "hex": "#3a588e",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 142
  },
  "hsl": {
    "h": 218.571,
    "s": 42,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46341,
    "c": 0.09531,
    "h": 261.4
  },
  "luminance": 0.09832
}

Semantic roles & 50–950 ramp

primary
#3A588E
secondary
#B29B72
accent
#A656D2
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3A588E

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

Preview Lab → · Contrast checker → · Palette generator →

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