#3A427A#3A427A

#3A427A is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.094 H 275.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#3A427A
RGBrgb(58, 66, 122)
HSLhsl(233, 36%, 35%)
HSVhsv(233, 52%, 48%)
CMYKcmyk(52.5%, 45.9%, 0%, 52.2%)
CIE-LABlab(29.91, 13.71, -33.04)
CIE-LCHlch(29.91, 35.77, 292.53°)
OKLaboklab(40.1% 0.0085 -0.0938)
OKLCHoklch(40.1% 0.094 275.2)
XYZxyz(7.2049, 6.2007, 19.2258)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A427A #7A723A
analogous
#3A627A #3A427A #523A7A
triadic
#3A427A #7A3A42 #427A3A
tetradic
#3A427A #7A3A62 #7A723A #3A7A52
square
#3A427A #7A3A62 #7A723A #3A7A52
split-complementary
#3A427A #7A523A #627A3A
monochromatic
#131527 #262C51 #3A427A #4E58A3 #727CBC

Accessibility & contrast

On white

9.37
#3A427A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3A427A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A427A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A427A#FFFFFF#000000##FFFFFF
##3A427A1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497C
Deuteranopia (green-blind)
#244479
Tritanopia (blue-blind)
#204E58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a427a;
/* rgb */ color: rgb(58, 66, 122);
/* oklch */ color: oklch(40.1% 0.094 275.2);
Tailwind
colors: {
  custom: {
    50: '#7576a1',
    500: '#3a427a',
    950: '#000000',
  },
}
SCSS
$custom: #3a427a;
$custom-light: #7576a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a427a",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 232.5,
    "s": 35.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40097,
    "c": 0.09418,
    "h": 275.2
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

primary
#3A427A
secondary
#A69E6A
accent
#BE5CCC
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080F
muted
#7B7B7E

Preview Lab

Preview with #3A427A

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

Preview Lab → · Contrast checker → · Palette generator →

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