#34349E#34349E

#34349E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.167 H 275.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#34349E
RGBrgb(52, 52, 158)
HSLhsl(240, 50%, 41%)
HSVhsv(240, 67%, 62%)
CMYKcmyk(67.1%, 67.1%, 0%, 38%)
CIE-LABlab(28.52, 34.41, -57.54)
CIE-LCHlch(28.52, 67.04, 300.88°)
OKLaboklab(39.81% 0.0166 -0.166)
OKLCHoklch(39.81% 0.167 275.7)
XYZxyz(8.8137, 5.6539, 32.9680)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34349E #9E9E34
analogous
#34699E #34349E #69349E
triadic
#34349E #9E3434 #349E34
tetradic
#34349E #9E3469 #9E9E34 #349E69
square
#34349E #9E3469 #9E9E34 #349E69
split-complementary
#34349E #9E6934 #699E34
monochromatic
#161642 #252570 #34349E #4B4BC4 #7979D3

Accessibility & contrast

On white

9.85
#34349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#34349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34349E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34349E#FFFFFF#000000##FFFFFF
##34349E1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #34349e;
/* rgb */ color: rgb(52, 52, 158);
/* oklch */ color: oklch(39.8% 0.167 275.7);
Tailwind
colors: {
  custom: {
    50: '#796cbc',
    500: '#34349e',
    950: '#000000',
  },
}
SCSS
$custom: #34349e;
$custom-light: #796cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#34349e",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 240,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39806,
    "c": 0.16687,
    "h": 275.7
  },
  "luminance": 0.05655
}

Semantic roles & 50–950 ramp

primary
#34349E
secondary
#BCBC72
accent
#DA4EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #34349E

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

Preview Lab → · Contrast checker → · Palette generator →

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