#34395C#34395C

#34395C is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.061 H 276.7°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#34395C
RGBrgb(52, 57, 92)
HSLhsl(233, 28%, 28%)
HSVhsv(233, 43%, 36%)
CMYKcmyk(43.5%, 38%, 0%, 63.9%)
CIE-LABlab(25.04, 8.05, -21.60)
CIE-LCHlch(25.04, 23.05, 290.43°)
OKLaboklab(35.68% 0.0071 -0.0606)
OKLCHoklch(35.68% 0.061 276.7)
XYZxyz(4.8105, 4.4288, 10.7245)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34395C #5C5734
analogous
#344D5C #34395C #43345C
triadic
#34395C #5C3439 #395C34
tetradic
#34395C #5C344D #5C5734 #345C43
square
#34395C #5C344D #5C5734 #345C43
split-complementary
#34395C #5C4334 #4D5C34
monochromatic
#0B0C14 #1E2135 #34395C #4A5183 #636CA7

Accessibility & contrast

On white

11.14
#34395C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#34395C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34395C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34395C#FFFFFF#000000##FFFFFF
##34395C1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5D
Deuteranopia (green-blind)
#2A3A5B
Tritanopia (blue-blind)
#284046
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #34395c;
/* rgb */ color: rgb(52, 57, 92);
/* oklch */ color: oklch(35.7% 0.061 276.7);
Tailwind
colors: {
  custom: {
    50: '#6d6f8a',
    500: '#34395c',
    950: '#000000',
  },
}
SCSS
$custom: #34395c;
$custom-light: #6d6f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#34395c",
  "rgb": {
    "r": 52,
    "g": 57,
    "b": 92
  },
  "hsl": {
    "h": 232.5,
    "s": 27.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35679,
    "c": 0.06101,
    "h": 276.7
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#34395C
secondary
#8D875F
accent
#B864C4
background
#F6F6F8
surface
#ECECF0
border
#C7C7CB
text
#07070B
muted
#7A7A7C

Preview Lab

Preview with #34395C

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

Preview Lab → · Contrast checker → · Palette generator →

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