#34369E#34369E

#34369E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.164 H 275.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#34369E
RGBrgb(52, 54, 158)
HSLhsl(239, 50%, 41%)
HSVhsv(239, 67%, 62%)
CMYKcmyk(67.1%, 65.8%, 0%, 38%)
CIE-LABlab(29.00, 33.15, -56.76)
CIE-LCHlch(29.00, 65.73, 300.28°)
OKLaboklab(40.15% 0.015 -0.1638)
OKLCHoklch(40.15% 0.164 275.2)
XYZxyz(8.9049, 5.8362, 32.9984)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34369E #9E9C34
analogous
#346B9E #34369E #67349E
triadic
#34369E #9E3436 #369E34
tetradic
#34369E #9E346B #9E9C34 #349E67
square
#34369E #9E346B #9E9C34 #349E67
split-complementary
#34369E #9E6734 #6B9E34
monochromatic
#161742 #252670 #34369E #4B4EC4 #797BD3

Accessibility & contrast

On white

9.69
#34369E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#34369E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34369E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34369E#FFFFFF#000000##FFFFFF
##34369E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #34369e;
/* rgb */ color: rgb(52, 54, 158);
/* oklch */ color: oklch(40.2% 0.164 275.2);
Tailwind
colors: {
  custom: {
    50: '#796dbc',
    500: '#34369e',
    950: '#000000',
  },
}
SCSS
$custom: #34369e;
$custom-light: #796dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#34369e",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 158
  },
  "hsl": {
    "h": 238.868,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4015,
    "c": 0.16445,
    "h": 275.2
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#34369E
secondary
#BCBA72
accent
#D74EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #34369E

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

Preview Lab → · Contrast checker → · Palette generator →

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