#3A589A#3A589A

#3A589A is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.1% C 0.113 H 264.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#3A589A
RGBrgb(58, 88, 154)
HSLhsl(221, 45%, 42%)
HSVhsv(221, 62%, 60%)
CMYKcmyk(62.3%, 42.9%, 0%, 39.6%)
CIE-LABlab(38.22, 10.44, -39.43)
CIE-LCHlch(38.22, 40.79, 284.84°)
OKLaboklab(47.09% -0.0115 -0.1123)
OKLCHoklch(47.09% 0.113 264.1)
XYZxyz(11.0654, 10.2111, 31.9534)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A589A #9A7C3A
analogous
#3A889A #3A589A #4C3A9A
triadic
#3A589A #9A3A58 #589A3A
tetradic
#3A589A #9A3A88 #9A7C3A #3A9A4C
square
#3A589A #9A3A88 #9A7C3A #3A9A4C
split-complementary
#3A589A #9A4C3A #889A3A
monochromatic
#192541 #293F6E #3A589A #5374BE #7F98CF

Accessibility & contrast

On white

6.90
#3A589A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3A589A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A589A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A589A#FFFFFF#000000##FFFFFF
##3A589A1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5F9D
Deuteranopia (green-blind)
#2D5699
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a589a;
/* rgb */ color: rgb(58, 88, 154);
/* oklch */ color: oklch(47.1% 0.113 264.1);
Tailwind
colors: {
  custom: {
    50: '#7986b8',
    500: '#3a589a',
    950: '#000000',
  },
}
SCSS
$custom: #3a589a;
$custom-light: #7986b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a589a",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 154
  },
  "hsl": {
    "h": 221.25,
    "s": 45.283,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4709,
    "c": 0.11286,
    "h": 264.1
  },
  "luminance": 0.10212
}

Semantic roles & 50–950 ramp

primary
#3A589A
secondary
#B9A477
accent
#AC53D5
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #3A589A

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

Preview Lab → · Contrast checker → · Palette generator →

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