#34345C#34345C

#34345C is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.069 H 282.2°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#34345C
RGBrgb(52, 52, 92)
HSLhsl(240, 28%, 28%)
HSVhsv(240, 43%, 36%)
CMYKcmyk(43.5%, 43.5%, 0%, 63.9%)
CIE-LABlab(23.53, 11.48, -23.98)
CIE-LCHlch(23.53, 26.58, 295.59°)
OKLaboklab(34.52% 0.0146 -0.0675)
OKLCHoklch(34.52% 0.069 282.2)
XYZxyz(4.5754, 3.9586, 10.6461)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34345C #5C5C34
analogous
#34485C #34345C #48345C
triadic
#34345C #5C3434 #345C34
tetradic
#34345C #5C3448 #5C5C34 #345C48
square
#34345C #5C3448 #5C5C34 #345C48
split-complementary
#34345C #5C4834 #485C34
monochromatic
#0B0B14 #1E1E35 #34345C #4A4A83 #6363A7

Accessibility & contrast

On white

11.72
#34345C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#34345C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34345C
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34345C#FFFFFF#000000##FFFFFF
##34345C1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395E
Deuteranopia (green-blind)
#24375B
Tritanopia (blue-blind)
#283C43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #34345c;
/* rgb */ color: rgb(52, 52, 92);
/* oklch */ color: oklch(34.5% 0.069 282.2);
Tailwind
colors: {
  custom: {
    50: '#6e6b8a',
    500: '#34345c',
    950: '#000000',
  },
}
SCSS
$custom: #34345c;
$custom-light: #6e6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#34345c",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 240,
    "s": 27.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34523,
    "c": 0.06906,
    "h": 282.2
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#34345C
secondary
#8D8D5F
accent
#C464C4
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #34345C

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

Preview Lab → · Contrast checker → · Palette generator →

#34345C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva