#3A428C#3A428C

#3A428C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.122 H 275.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#3A428C
RGBrgb(58, 66, 140)
HSLhsl(234, 41%, 39%)
HSVhsv(234, 59%, 55%)
CMYKcmyk(58.6%, 52.9%, 0%, 45.1%)
CIE-LABlab(31.09, 19.97, -42.34)
CIE-LCHlch(31.09, 46.81, 295.26°)
OKLaboklab(41.37% 0.0109 -0.1211)
OKLCHoklch(41.37% 0.122 275.1)
XYZxyz(8.4252, 6.6888, 25.6530)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A428C #8C843A
analogous
#3A6B8C #3A428C #5B3A8C
triadic
#3A428C #8C3A42 #428C3A
tetradic
#3A428C #8C3A6B #8C843A #3A8C5B
square
#3A428C #8C3A6B #8C843A #3A8C5B
split-complementary
#3A428C #8C5B3A #6B8C3A
monochromatic
#161935 #282E61 #3A428C #4E58B6 #7981C7

Accessibility & contrast

On white

8.98
#3A428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3A428C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A428C
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A428C#FFFFFF#000000##FFFFFF
##3A428C1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D8F
Deuteranopia (green-blind)
#09468A
Tritanopia (blue-blind)
#075360
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a428c;
/* rgb */ color: rgb(58, 66, 140);
/* oklch */ color: oklch(41.4% 0.122 275.1);
Tailwind
colors: {
  custom: {
    50: '#7876ae',
    500: '#3a428c',
    950: '#000000',
  },
}
SCSS
$custom: #3a428c;
$custom-light: #7876ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3a428c",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 234.146,
    "s": 41.414,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.12159,
    "h": 275.1
  },
  "luminance": 0.06689
}

Semantic roles & 50–950 ramp

primary
#3A428C
secondary
#B1AB71
accent
#C557D1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #3A428C

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

Preview Lab → · Contrast checker → · Palette generator →

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