#3A528D#3A528D

#3A528D is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.9% C 0.101 H 265.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#3A528D
RGBrgb(58, 82, 141)
HSLhsl(223, 42%, 39%)
HSVhsv(223, 59%, 55%)
CMYKcmyk(58.9%, 41.8%, 0%, 44.7%)
CIE-LABlab(35.71, 9.72, -35.56)
CIE-LCHlch(35.71, 36.87, 285.29°)
OKLaboklab(44.91% -0.0074 -0.101)
OKLCHoklch(44.91% 0.101 265.8)
XYZxyz(9.5683, 8.8565, 26.3994)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A528D #8D753A
analogous
#3A7C8D #3A528D #4C3A8D
triadic
#3A528D #8D3A52 #528D3A
tetradic
#3A528D #8D3A7C #8D753A #3A8D4C
square
#3A528D #8D3A7C #8D753A #3A8D4C
split-complementary
#3A528D #8D4C3A #7C8D3A
monochromatic
#162036 #283962 #3A528D #4E6CB6 #7990C8

Accessibility & contrast

On white

7.58
#3A528D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3A528D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A528D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A528D#FFFFFF#000000##FFFFFF
##3A528D1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#2E508C
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a528d;
/* rgb */ color: rgb(58, 82, 141);
/* oklch */ color: oklch(44.9% 0.101 265.8);
Tailwind
colors: {
  custom: {
    50: '#7782af',
    500: '#3a528d',
    950: '#000000',
  },
}
SCSS
$custom: #3a528d;
$custom-light: #7782af;
$custom-dark: #000000;
JSON
{
  "hex": "#3a528d",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 222.651,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44907,
    "c": 0.10129,
    "h": 265.8
  },
  "luminance": 0.08857
}

Semantic roles & 50–950 ramp

primary
#3A528D
secondary
#B19F71
accent
#AE56D2
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3A528D

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

Preview Lab → · Contrast checker → · Palette generator →

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