#34428B#34428B

#34428B is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.122 H 271.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#34428B
RGBrgb(52, 66, 139)
HSLhsl(230, 46%, 37%)
HSVhsv(230, 63%, 55%)
CMYKcmyk(62.6%, 52.5%, 0%, 45.5%)
CIE-LABlab(30.62, 18.40, -42.50)
CIE-LCHlch(30.62, 46.32, 293.41°)
OKLaboklab(40.88% 0.0039 -0.1217)
OKLCHoklch(40.88% 0.122 271.8)
XYZxyz(8.0230, 6.4899, 25.2510)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34428B #8B7D34
analogous
#346D8B #34428B #52348B
triadic
#34428B #8B3442 #428B34
tetradic
#34428B #8B346D #8B7D34 #348B52
square
#34428B #8B346D #8B7D34 #348B52
split-complementary
#34428B #8B5234 #6D8B34
monochromatic
#131832 #232D5E #34428B #4557B8 #707EC9

Accessibility & contrast

On white

9.14
#34428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#34428B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34428B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34428B#FFFFFF#000000##FFFFFF
##34428B1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#024489
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #34428b;
/* rgb */ color: rgb(52, 66, 139);
/* oklch */ color: oklch(40.9% 0.122 271.8);
Tailwind
colors: {
  custom: {
    50: '#7476ad',
    500: '#34428b',
    950: '#000000',
  },
}
SCSS
$custom: #34428b;
$custom-light: #7476ad;
$custom-dark: #000000;
JSON
{
  "hex": "#34428b",
  "rgb": {
    "r": 52,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 230.345,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40882,
    "c": 0.12179,
    "h": 271.8
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#34428B
secondary
#B2A669
accent
#C053D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #34428B

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

Preview Lab → · Contrast checker → · Palette generator →

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