#34366A#34366A

#34366A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.089 H 279.3°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#34366A
RGBrgb(52, 54, 106)
HSLhsl(238, 34%, 31%)
HSVhsv(238, 51%, 42%)
CMYKcmyk(50.9%, 49.1%, 0%, 58.4%)
CIE-LABlab(24.98, 14.82, -30.78)
CIE-LCHlch(24.98, 34.16, 295.71°)
OKLaboklab(35.9% 0.0143 -0.0874)
OKLCHoklch(35.9% 0.089 279.3)
XYZxyz(5.3361, 4.4087, 14.2027)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34366A #6A6834
analogous
#34516A #34366A #4D346A
triadic
#34366A #6A3436 #366A34
tetradic
#34366A #6A3451 #6A6834 #346A4D
square
#34366A #6A3451 #6A6834 #346A4D
split-complementary
#34366A #6A4D34 #516A34
monochromatic
#0C0C18 #202141 #34366A #484B93 #6568B3

Accessibility & contrast

On white

11.16
#34366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#34366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34366A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34366A#FFFFFF#000000##FFFFFF
##34366A1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203D6C
Deuteranopia (green-blind)
#1C3969
Tritanopia (blue-blind)
#20414B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #34366a;
/* rgb */ color: rgb(52, 54, 106);
/* oklch */ color: oklch(35.9% 0.089 279.3);
Tailwind
colors: {
  custom: {
    50: '#6f6c95',
    500: '#34366a',
    950: '#000000',
  },
}
SCSS
$custom: #34366a;
$custom-light: #6f6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#34366a",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 237.778,
    "s": 34.177,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35901,
    "c": 0.08855,
    "h": 279.3
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#34366A
secondary
#9B995F
accent
#C65ECA
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #34366A

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

Preview Lab → · Contrast checker → · Palette generator →

#34366A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva