#3A428F#3A428F

#3A428F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.126 H 275.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#3A428F
RGBrgb(58, 66, 143)
HSLhsl(234, 42%, 39%)
HSVhsv(234, 59%, 56%)
CMYKcmyk(59.4%, 53.8%, 0%, 43.9%)
CIE-LABlab(31.30, 21.03, -43.85)
CIE-LCHlch(31.30, 48.63, 295.63°)
OKLaboklab(41.59% 0.0111 -0.1255)
OKLCHoklch(41.59% 0.126 275)
XYZxyz(8.6495, 6.7785, 26.8339)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A428F #8F873A
analogous
#3A6D8F #3A428F #5D3A8F
triadic
#3A428F #8F3A42 #428F3A
tetradic
#3A428F #8F3A6D #8F873A #3A8F5D
square
#3A428F #8F3A6D #8F873A #3A8F5D
split-complementary
#3A428F #8F5D3A #6D8F3A
monochromatic
#171A38 #282E63 #3A428F #4F59B7 #7A82C9

Accessibility & contrast

On white

8.91
#3A428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3A428F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A428F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A428F#FFFFFF#000000##FFFFFF
##3A428F1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a428f;
/* rgb */ color: rgb(58, 66, 143);
/* oklch */ color: oklch(41.6% 0.126 275.0);
Tailwind
colors: {
  custom: {
    50: '#7876b0',
    500: '#3a428f',
    950: '#000000',
  },
}
SCSS
$custom: #3a428f;
$custom-light: #7876b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a428f",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 234.353,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4159,
    "c": 0.12602,
    "h": 275
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A428F

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

Preview Lab → · Contrast checker → · Palette generator →

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