#3A528E#3A528E

#3A528E is a dark, moderate blue. Relative luminance 0.089; OKLCH L 45.0% C 0.103 H 266.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3A528E
RGBrgb(58, 82, 142)
HSLhsl(223, 42%, 39%)
HSVhsv(223, 59%, 56%)
CMYKcmyk(59.2%, 42.3%, 0%, 44.3%)
CIE-LABlab(35.76, 10.08, -36.08)
CIE-LCHlch(35.76, 37.46, 285.60°)
OKLaboklab(44.97% -0.0072 -0.1025)
OKLCHoklch(44.97% 0.103 266)
XYZxyz(9.6430, 8.8864, 26.7930)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A528E #8E763A
analogous
#3A7C8E #3A528E #4C3A8E
triadic
#3A528E #8E3A52 #528E3A
tetradic
#3A528E #8E3A7C #8E763A #3A8E4C
square
#3A528E #8E3A7C #8E763A #3A8E4C
split-complementary
#3A528E #8E4C3A #7C8E3A
monochromatic
#172037 #283963 #3A528E #4E6CB7 #7A90C9

Accessibility & contrast

On white

7.56
#3A528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3A528E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A528E
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A528E#FFFFFF#000000##FFFFFF
##3A528E1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#2D518D
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a528e;
/* rgb */ color: rgb(58, 82, 142);
/* oklch */ color: oklch(45.0% 0.103 266.0);
Tailwind
colors: {
  custom: {
    50: '#7782af',
    500: '#3a528e',
    950: '#000000',
  },
}
SCSS
$custom: #3a528e;
$custom-light: #7782af;
$custom-dark: #000000;
JSON
{
  "hex": "#3a528e",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 222.857,
    "s": 42,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4497,
    "c": 0.10278,
    "h": 266
  },
  "luminance": 0.08887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A528E

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

Preview Lab → · Contrast checker → · Palette generator →

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