#3A428E#3A428E

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

Color values

HEX#3A428E
RGBrgb(58, 66, 142)
HSLhsl(234, 42%, 39%)
HSVhsv(234, 59%, 56%)
CMYKcmyk(59.2%, 53.5%, 0%, 44.3%)
CIE-LABlab(31.23, 20.68, -43.34)
CIE-LCHlch(31.23, 48.02, 295.50°)
OKLaboklab(41.52% 0.011 -0.1241)
OKLCHoklch(41.52% 0.125 275.1)
XYZxyz(8.5740, 6.7483, 26.4367)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A428E #8E863A
analogous
#3A6C8E #3A428E #5C3A8E
triadic
#3A428E #8E3A42 #428E3A
tetradic
#3A428E #8E3A6C #8E863A #3A8E5C
square
#3A428E #8E3A6C #8E863A #3A8E5C
split-complementary
#3A428E #8E5C3A #6C8E3A
monochromatic
#171A37 #282E63 #3A428E #4E58B7 #7A81C9

Accessibility & contrast

On white

8.94
#3A428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3A428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A428E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A428E#FFFFFF#000000##FFFFFF
##3A428E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D91
Deuteranopia (green-blind)
#03468C
Tritanopia (blue-blind)
#025361
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a428e;
/* rgb */ color: rgb(58, 66, 142);
/* oklch */ color: oklch(41.5% 0.125 275.1);
Tailwind
colors: {
  custom: {
    50: '#7876b0',
    500: '#3a428e',
    950: '#000000',
  },
}
SCSS
$custom: #3a428e;
$custom-light: #7876b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a428e",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 234.286,
    "s": 42,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.12455,
    "h": 275.1
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#3A428E
secondary
#B2AC72
accent
#C656D2
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #3A428E

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

Preview Lab → · Contrast checker → · Palette generator →

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