#34346E#34346E

#34346E is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.8% C 0.098 H 280.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#34346E
RGBrgb(52, 52, 110)
HSLhsl(240, 36%, 32%)
HSVhsv(240, 53%, 43%)
CMYKcmyk(52.7%, 52.7%, 0%, 56.9%)
CIE-LABlab(24.68, 17.57, -33.83)
CIE-LCHlch(24.68, 38.12, 297.45°)
OKLaboklab(35.76% 0.0174 -0.0964)
OKLCHoklch(35.76% 0.098 280.2)
XYZxyz(5.4578, 4.3115, 15.2935)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34346E #6E6E34
analogous
#34516E #34346E #51346E
triadic
#34346E #6E3434 #346E34
tetradic
#34346E #6E3451 #6E6E34 #346E51
square
#34346E #6E3451 #6E6E34 #346E51
split-complementary
#34346E #6E5134 #516E34
monochromatic
#0D0D1B #202044 #34346E #484898 #6666B7

Accessibility & contrast

On white

11.28
#34346E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#34346E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34346E
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34346E#FFFFFF#000000##FFFFFF
##34346E1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193D70
Deuteranopia (green-blind)
#13386D
Tritanopia (blue-blind)
#1D414B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #34346e;
/* rgb */ color: rgb(52, 52, 110);
/* oklch */ color: oklch(35.8% 0.098 280.2);
Tailwind
colors: {
  custom: {
    50: '#706b98',
    500: '#34346e',
    950: '#000000',
  },
}
SCSS
$custom: #34346e;
$custom-light: #706b98;
$custom-dark: #000000;
JSON
{
  "hex": "#34346e",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 110
  },
  "hsl": {
    "h": 240,
    "s": 35.802,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35758,
    "c": 0.09794,
    "h": 280.2
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#34346E
secondary
#9F9F5F
accent
#CC5CCC
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060D
muted
#7B7A7E

Preview Lab

Preview with #34346E

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

Preview Lab → · Contrast checker → · Palette generator →

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