#34366E#34366E

#34366E is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.095 H 279.0°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#34366E
RGBrgb(52, 54, 110)
HSLhsl(238, 36%, 32%)
HSVhsv(238, 53%, 43%)
CMYKcmyk(52.7%, 50.9%, 0%, 56.9%)
CIE-LABlab(25.24, 16.20, -32.93)
CIE-LCHlch(25.24, 36.70, 296.20°)
OKLaboklab(36.18% 0.0148 -0.0937)
OKLCHoklch(36.18% 0.095 279)
XYZxyz(5.5489, 4.4939, 15.3238)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34366E #6E6C34
analogous
#34536E #34366E #4F346E
triadic
#34366E #6E3436 #366E34
tetradic
#34366E #6E3453 #6E6C34 #346E4F
square
#34366E #6E3453 #6E6C34 #346E4F
split-complementary
#34366E #6E4F34 #536E34
monochromatic
#0D0D1B #202244 #34366E #484A98 #6669B7

Accessibility & contrast

On white

11.06
#34366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#34366E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34366E
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34366E#FFFFFF#000000##FFFFFF
##34366E1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3E70
Deuteranopia (green-blind)
#173A6D
Tritanopia (blue-blind)
#1D424C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #34366e;
/* rgb */ color: rgb(52, 54, 110);
/* oklch */ color: oklch(36.2% 0.095 279.0);
Tailwind
colors: {
  custom: {
    50: '#706d98',
    500: '#34366e',
    950: '#000000',
  },
}
SCSS
$custom: #34366e;
$custom-light: #706d98;
$custom-dark: #000000;
JSON
{
  "hex": "#34366e",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 237.931,
    "s": 35.802,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36184,
    "c": 0.09487,
    "h": 279
  },
  "luminance": 0.04494
}

Semantic roles & 50–950 ramp

primary
#34366E
secondary
#9F9D5F
accent
#C85CCC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #34366E

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

Preview Lab → · Contrast checker → · Palette generator →

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