#34419D#34419D

#34419D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.149 H 272.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#34419D
RGBrgb(52, 65, 157)
HSLhsl(233, 50%, 41%)
HSVhsv(233, 67%, 62%)
CMYKcmyk(66.9%, 58.6%, 0%, 38.4%)
CIE-LABlab(31.68, 25.63, -51.78)
CIE-LCHlch(31.68, 57.78, 296.33°)
OKLaboklab(42.1% 0.0058 -0.149)
OKLCHoklch(42.1% 0.149 272.2)
XYZxyz(9.3902, 6.9441, 32.7372)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34419D #9D9034
analogous
#34759D #34419D #5B349D
triadic
#34419D #9D3441 #419D34
tetradic
#34419D #9D3475 #9D9034 #349D5B
square
#34419D #9D3475 #9D9034 #349D5B
split-complementary
#34419D #9D5B34 #759D34
monochromatic
#161B41 #252E6F #34419D #4B5AC3 #7984D3

Accessibility & contrast

On white

8.79
#34419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#34419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34419D
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34419D#FFFFFF#000000##FFFFFF
##34419D1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #34419d;
/* rgb */ color: rgb(52, 65, 157);
/* oklch */ color: oklch(42.1% 0.149 272.2);
Tailwind
colors: {
  custom: {
    50: '#7875bb',
    500: '#34419d',
    950: '#000000',
  },
}
SCSS
$custom: #34419d;
$custom-light: #7875bb;
$custom-dark: #000000;
JSON
{
  "hex": "#34419d",
  "rgb": {
    "r": 52,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 232.571,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42103,
    "c": 0.14915,
    "h": 272.2
  },
  "luminance": 0.06945
}

Semantic roles & 50–950 ramp

primary
#34419D
secondary
#BBB272
accent
#C84EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #34419D

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

Preview Lab → · Contrast checker → · Palette generator →

#34419D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva