#34366B#34366B

#34366B is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.090 H 279.2°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#34366B
RGBrgb(52, 54, 107)
HSLhsl(238, 35%, 31%)
HSVhsv(238, 51%, 42%)
CMYKcmyk(51.4%, 49.5%, 0%, 58%)
CIE-LABlab(25.04, 15.17, -31.32)
CIE-LCHlch(25.04, 34.80, 295.84°)
OKLaboklab(35.97% 0.0144 -0.089)
OKLCHoklch(35.97% 0.09 279.2)
XYZxyz(5.3884, 4.4296, 14.4781)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34366B #6B6934
analogous
#34516B #34366B #4D346B
triadic
#34366B #6B3436 #366B34
tetradic
#34366B #6B3451 #6B6934 #346B4D
square
#34366B #6B3451 #6B6934 #346B4D
split-complementary
#34366B #6B4D34 #516B34
monochromatic
#0C0C19 #202142 #34366B #484B94 #6568B4

Accessibility & contrast

On white

11.13
#34366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34366B
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34366B#FFFFFF#000000##FFFFFF
##34366B1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3E6D
Deuteranopia (green-blind)
#1B396A
Tritanopia (blue-blind)
#1F414B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #34366b;
/* rgb */ color: rgb(52, 54, 107);
/* oklch */ color: oklch(36.0% 0.090 279.2);
Tailwind
colors: {
  custom: {
    50: '#6f6c96',
    500: '#34366b',
    950: '#000000',
  },
}
SCSS
$custom: #34366b;
$custom-light: #6f6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#34366b",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 237.818,
    "s": 34.591,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35971,
    "c": 0.09014,
    "h": 279.2
  },
  "luminance": 0.0443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34366B

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

Preview Lab → · Contrast checker → · Palette generator →

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