#34368B#34368B

#34368B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.138 H 276.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#34368B
RGBrgb(52, 54, 139)
HSLhsl(239, 46%, 37%)
HSVhsv(239, 63%, 55%)
CMYKcmyk(62.6%, 61.2%, 0%, 45.5%)
CIE-LABlab(27.39, 26.44, -47.73)
CIE-LCHlch(27.39, 54.57, 298.98°)
OKLaboklab(38.47% 0.0161 -0.1372)
OKLCHoklch(38.47% 0.138 276.7)
XYZxyz(7.3940, 5.2319, 25.0413)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34368B #8B8934
analogous
#34618B #34368B #5E348B
triadic
#34368B #8B3436 #368B34
tetradic
#34368B #8B3461 #8B8934 #348B5E
square
#34368B #8B3461 #8B8934 #348B5E
split-complementary
#34368B #8B5E34 #618B34
monochromatic
#131332 #23255E #34368B #4547B8 #7072C9

Accessibility & contrast

On white

10.26
#34368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#34368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34368B
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34368B#FFFFFF#000000##FFFFFF
##34368B1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #34368b;
/* rgb */ color: rgb(52, 54, 139);
/* oklch */ color: oklch(38.5% 0.138 276.7);
Tailwind
colors: {
  custom: {
    50: '#756dae',
    500: '#34368b',
    950: '#000000',
  },
}
SCSS
$custom: #34368b;
$custom-light: #756dae;
$custom-dark: #000000;
JSON
{
  "hex": "#34368b",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 238.621,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38468,
    "c": 0.13819,
    "h": 276.7
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#34368B
secondary
#B2B069
accent
#D253D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #34368B

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

Preview Lab → · Contrast checker → · Palette generator →

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