#34368A#34368A

#34368A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.137 H 276.8°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#34368A
RGBrgb(52, 54, 138)
HSLhsl(239, 45%, 37%)
HSVhsv(239, 62%, 54%)
CMYKcmyk(62.3%, 60.9%, 0%, 45.9%)
CIE-LABlab(27.30, 26.08, -47.24)
CIE-LCHlch(27.30, 53.97, 298.90°)
OKLaboklab(38.38% 0.0162 -0.1358)
OKLCHoklch(38.38% 0.137 276.8)
XYZxyz(7.3213, 5.2028, 24.6583)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34368A #8A8834
analogous
#34618A #34368A #5D348A
triadic
#34368A #8A3436 #368A34
tetradic
#34368A #8A3461 #8A8834 #348A5D
square
#34368A #8A3461 #8A8834 #348A5D
split-complementary
#34368A #8A5D34 #618A34
monochromatic
#131331 #23255E #34368A #4547B6 #6F72C9

Accessibility & contrast

On white

10.29
#34368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#34368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34368A
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34368A#FFFFFF#000000##FFFFFF
##34368A1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #34368a;
/* rgb */ color: rgb(52, 54, 138);
/* oklch */ color: oklch(38.4% 0.137 276.8);
Tailwind
colors: {
  custom: {
    50: '#756dad',
    500: '#34368a',
    950: '#000000',
  },
}
SCSS
$custom: #34368a;
$custom-light: #756dad;
$custom-dark: #000000;
JSON
{
  "hex": "#34368a",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 238.605,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38383,
    "c": 0.13677,
    "h": 276.8
  },
  "luminance": 0.05203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34368A

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

Preview Lab → · Contrast checker → · Palette generator →

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