#3A538D#3A538D

#3A538D is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.100 H 265.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#3A538D
RGBrgb(58, 83, 141)
HSLhsl(222, 42%, 39%)
HSVhsv(222, 59%, 55%)
CMYKcmyk(58.9%, 41.1%, 0%, 44.7%)
CIE-LABlab(36.00, 9.07, -35.10)
CIE-LCHlch(36.00, 36.25, 284.49°)
OKLaboklab(45.13% -0.0086 -0.0996)
OKLCHoklch(45.13% 0.1 265.1)
XYZxyz(9.6443, 9.0084, 26.4247)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A538D #8D743A
analogous
#3A7D8D #3A538D #4B3A8D
triadic
#3A538D #8D3A53 #538D3A
tetradic
#3A538D #8D3A7D #8D743A #3A8D4B
square
#3A538D #8D3A7D #8D743A #3A8D4B
split-complementary
#3A538D #8D4B3A #7D8D3A
monochromatic
#162036 #283962 #3A538D #4E6DB6 #7991C8

Accessibility & contrast

On white

7.50
#3A538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3A538D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A538D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A538D#FFFFFF#000000##FFFFFF
##3A538D1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A598F
Deuteranopia (green-blind)
#30518C
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a538d;
/* rgb */ color: rgb(58, 83, 141);
/* oklch */ color: oklch(45.1% 0.100 265.1);
Tailwind
colors: {
  custom: {
    50: '#7783ae',
    500: '#3a538d',
    950: '#000000',
  },
}
SCSS
$custom: #3a538d;
$custom-light: #7783ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3a538d",
  "rgb": {
    "r": 58,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 221.928,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45133,
    "c": 0.10001,
    "h": 265.1
  },
  "luminance": 0.09009
}

Semantic roles & 50–950 ramp

primary
#3A538D
secondary
#B19E71
accent
#AC56D2
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3A538D

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

Preview Lab → · Contrast checker → · Palette generator →

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