#34366D#34366D

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

Color values

HEX#34366D
RGBrgb(52, 54, 109)
HSLhsl(238, 35%, 32%)
HSVhsv(238, 52%, 43%)
CMYKcmyk(52.3%, 50.5%, 0%, 57.3%)
CIE-LABlab(25.17, 15.86, -32.39)
CIE-LCHlch(25.17, 36.06, 296.08°)
OKLaboklab(36.11% 0.0147 -0.0921)
OKLCHoklch(36.11% 0.093 279.1)
XYZxyz(5.4948, 4.4722, 15.0387)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34366D #6D6B34
analogous
#34536D #34366D #4F346D
triadic
#34366D #6D3436 #366D34
tetradic
#34366D #6D3453 #6D6B34 #346D4F
square
#34366D #6D3453 #6D6B34 #346D4F
split-complementary
#34366D #6D4F34 #536D34
monochromatic
#0C0D1A #202144 #34366D #484B96 #6668B6

Accessibility & contrast

On white

11.08
#34366D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34366D
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34366D#FFFFFF#000000##FFFFFF
##34366D1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6F
Deuteranopia (green-blind)
#193A6C
Tritanopia (blue-blind)
#1E424C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #34366d;
/* rgb */ color: rgb(52, 54, 109);
/* oklch */ color: oklch(36.1% 0.093 279.1);
Tailwind
colors: {
  custom: {
    50: '#706c97',
    500: '#34366d',
    950: '#000000',
  },
}
SCSS
$custom: #34366d;
$custom-light: #706c97;
$custom-dark: #000000;
JSON
{
  "hex": "#34366d",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 109
  },
  "hsl": {
    "h": 237.895,
    "s": 35.404,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36113,
    "c": 0.0933,
    "h": 279.1
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#34366D
secondary
#9E9C5F
accent
#C85CCB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #34366D

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

Preview Lab → · Contrast checker → · Palette generator →

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