#34368E#34368E

#34368E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.142 H 276.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#34368E
RGBrgb(52, 54, 142)
HSLhsl(239, 46%, 38%)
HSVhsv(239, 63%, 56%)
CMYKcmyk(63.4%, 62%, 0%, 44.3%)
CIE-LABlab(27.63, 27.50, -49.19)
CIE-LCHlch(27.63, 56.36, 299.21°)
OKLaboklab(38.73% 0.016 -0.1415)
OKLCHoklch(38.73% 0.142 276.5)
XYZxyz(7.6162, 5.3208, 26.2116)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34368E #8E8C34
analogous
#34638E #34368E #5F348E
triadic
#34368E #8E3436 #368E34
tetradic
#34368E #8E3463 #8E8C34 #348E5F
square
#34368E #8E3463 #8E8C34 #348E5F
split-complementary
#34368E #8E5F34 #638E34
monochromatic
#131434 #242561 #34368E #4447BB #7173CB

Accessibility & contrast

On white

10.17
#34368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#34368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34368E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34368E#FFFFFF#000000##FFFFFF
##34368E1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #34368e;
/* rgb */ color: rgb(52, 54, 142);
/* oklch */ color: oklch(38.7% 0.142 276.5);
Tailwind
colors: {
  custom: {
    50: '#766db0',
    500: '#34368e',
    950: '#000000',
  },
}
SCSS
$custom: #34368e;
$custom-light: #766db0;
$custom-dark: #000000;
JSON
{
  "hex": "#34368e",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 238.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38725,
    "c": 0.14245,
    "h": 276.5
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#34368E
secondary
#B3B26A
accent
#D352D6
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #34368E

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

Preview Lab → · Contrast checker → · Palette generator →

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