#34366C#34366C

#34366C is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.092 H 279.1°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#34366C
RGBrgb(52, 54, 108)
HSLhsl(238, 35%, 31%)
HSVhsv(238, 52%, 42%)
CMYKcmyk(51.9%, 50%, 0%, 57.6%)
CIE-LABlab(25.11, 15.51, -31.85)
CIE-LCHlch(25.11, 35.43, 295.96°)
OKLaboklab(36.04% 0.0146 -0.0906)
OKLCHoklch(36.04% 0.092 279.1)
XYZxyz(5.4413, 4.4508, 14.7568)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34366C #6C6A34
analogous
#34526C #34366C #4E346C
triadic
#34366C #6C3436 #366C34
tetradic
#34366C #6C3452 #6C6A34 #346C4E
square
#34366C #6C3452 #6C6A34 #346C4E
split-complementary
#34366C #6C4E34 #526C34
monochromatic
#0C0D19 #202143 #34366C #484B95 #6568B5

Accessibility & contrast

On white

11.11
#34366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34366C
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34366C#FFFFFF#000000##FFFFFF
##34366C1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6E
Deuteranopia (green-blind)
#1A396B
Tritanopia (blue-blind)
#1F424B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #34366c;
/* rgb */ color: rgb(52, 54, 108);
/* oklch */ color: oklch(36.0% 0.092 279.1);
Tailwind
colors: {
  custom: {
    50: '#706c96',
    500: '#34366c',
    950: '#000000',
  },
}
SCSS
$custom: #34366c;
$custom-light: #706c96;
$custom-dark: #000000;
JSON
{
  "hex": "#34366c",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 237.857,
    "s": 35,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36042,
    "c": 0.09172,
    "h": 279.1
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#34366C
secondary
#9D9B5F
accent
#C75DCB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #34366C

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

Preview Lab → · Contrast checker → · Palette generator →

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