#34418E#34418E

#34418E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.128 H 272.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#34418E
RGBrgb(52, 65, 142)
HSLhsl(231, 46%, 38%)
HSVhsv(231, 63%, 56%)
CMYKcmyk(63.4%, 54.2%, 0%, 44.3%)
CIE-LABlab(30.55, 20.17, -44.45)
CIE-LCHlch(30.55, 48.81, 294.40°)
OKLaboklab(40.9% 0.0052 -0.1275)
OKLCHoklch(40.9% 0.128 272.3)
XYZxyz(8.1873, 6.4630, 26.4020)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34418E #8E8134
analogous
#346E8E #34418E #54348E
triadic
#34418E #8E3441 #418E34
tetradic
#34418E #8E346E #8E8134 #348E54
square
#34418E #8E346E #8E8134 #348E54
split-complementary
#34418E #8E5434 #6E8E34
monochromatic
#131834 #242C61 #34418E #4456BB #717ECB

Accessibility & contrast

On white

9.16
#34418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#34418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34418E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34418E#FFFFFF#000000##FFFFFF
##34418E1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #34418e;
/* rgb */ color: rgb(52, 65, 142);
/* oklch */ color: oklch(40.9% 0.128 272.3);
Tailwind
colors: {
  custom: {
    50: '#7575b0',
    500: '#34418e',
    950: '#000000',
  },
}
SCSS
$custom: #34418e;
$custom-light: #7575b0;
$custom-dark: #000000;
JSON
{
  "hex": "#34418e",
  "rgb": {
    "r": 52,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 231.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40902,
    "c": 0.12759,
    "h": 272.3
  },
  "luminance": 0.06464
}

Semantic roles & 50–950 ramp

primary
#34418E
secondary
#B3A96A
accent
#C352D6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #34418E

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

Preview Lab → · Contrast checker → · Palette generator →

#34418E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva