#3A5290#3A5290

#3A5290 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.1% C 0.106 H 266.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#3A5290
RGBrgb(58, 82, 144)
HSLhsl(223, 43%, 40%)
HSVhsv(223, 60%, 56%)
CMYKcmyk(59.7%, 43.1%, 0%, 43.5%)
CIE-LABlab(35.88, 10.79, -37.11)
CIE-LCHlch(35.88, 38.64, 286.21°)
OKLaboklab(45.1% -0.0068 -0.1055)
OKLCHoklch(45.1% 0.106 266.3)
XYZxyz(9.7946, 8.9470, 27.5909)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5290 #90783A
analogous
#3A7D90 #3A5290 #4D3A90
triadic
#3A5290 #903A52 #52903A
tetradic
#3A5290 #903A7D #90783A #3A904D
square
#3A5290 #903A7D #90783A #3A904D
split-complementary
#3A5290 #904D3A #7D903A
monochromatic
#172039 #283964 #3A5290 #4F6CB8 #7B91CA

Accessibility & contrast

On white

7.53
#3A5290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3A5290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5290
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5290#FFFFFF#000000##FFFFFF
##3A52901.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375992
Deuteranopia (green-blind)
#2B518F
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a5290;
/* rgb */ color: rgb(58, 82, 144);
/* oklch */ color: oklch(45.1% 0.106 266.3);
Tailwind
colors: {
  custom: {
    50: '#7882b1',
    500: '#3a5290',
    950: '#000000',
  },
}
SCSS
$custom: #3a5290;
$custom-light: #7882b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5290",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 144
  },
  "hsl": {
    "h": 223.256,
    "s": 42.574,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.10577,
    "h": 266.3
  },
  "luminance": 0.08948
}

Semantic roles & 50–950 ramp

primary
#3A5290
secondary
#B3A173
accent
#AF55D2
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3A5290

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

Preview Lab → · Contrast checker → · Palette generator →

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