#34428F#34428F

#34428F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.128 H 271.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#34428F
RGBrgb(52, 66, 143)
HSLhsl(231, 47%, 38%)
HSVhsv(231, 64%, 56%)
CMYKcmyk(63.6%, 53.8%, 0%, 43.9%)
CIE-LABlab(30.90, 19.86, -44.51)
CIE-LCHlch(30.90, 48.74, 294.05°)
OKLaboklab(41.19% 0.0042 -0.1276)
OKLCHoklch(41.19% 0.128 271.9)
XYZxyz(8.3207, 6.6090, 26.8185)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34428F #8F8134
analogous
#346F8F #34428F #53348F
triadic
#34428F #8F3442 #428F34
tetradic
#34428F #8F346F #8F8134 #348F53
square
#34428F #8F346F #8F8134 #348F53
split-complementary
#34428F #8F5334 #6F8F34
monochromatic
#131935 #242D62 #34428F #4557BB #7280CC

Accessibility & contrast

On white

9.04
#34428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#34428F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34428F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34428F#FFFFFF#000000##FFFFFF
##34428F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134D92
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #34428f;
/* rgb */ color: rgb(52, 66, 143);
/* oklch */ color: oklch(41.2% 0.128 271.9);
Tailwind
colors: {
  custom: {
    50: '#7576b0',
    500: '#34428f',
    950: '#000000',
  },
}
SCSS
$custom: #34428f;
$custom-light: #7576b0;
$custom-dark: #000000;
JSON
{
  "hex": "#34428f",
  "rgb": {
    "r": 52,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 230.769,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41186,
    "c": 0.1277,
    "h": 271.9
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#34428F
secondary
#B4A96B
accent
#C251D6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #34428F

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

Preview Lab → · Contrast checker → · Palette generator →

#34428F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva