#34397A#34397A

#34397A is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.7% C 0.109 H 276.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#34397A
RGBrgb(52, 57, 122)
HSLhsl(236, 40%, 34%)
HSVhsv(236, 57%, 48%)
CMYKcmyk(57.4%, 53.3%, 0%, 52.2%)
CIE-LABlab(26.91, 18.37, -37.88)
CIE-LCHlch(26.91, 42.10, 295.88°)
OKLaboklab(37.71% 0.0124 -0.1082)
OKLCHoklch(37.71% 0.109 276.5)
XYZxyz(6.3910, 5.0610, 19.0487)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34397A #7A7534
analogous
#345C7A #34397A #52347A
triadic
#34397A #7A3439 #397A34
tetradic
#34397A #7A345C #7A7534 #347A52
square
#34397A #7A345C #7A7534 #347A52
split-complementary
#34397A #7A5234 #5C7A34
monochromatic
#0F1124 #22254F #34397A #464DA5 #696FBF

Accessibility & contrast

On white

10.44
#34397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#34397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34397A
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34397A#FFFFFF#000000##FFFFFF
##34397A1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437C
Deuteranopia (green-blind)
#0B3D79
Tritanopia (blue-blind)
#104854
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #34397a;
/* rgb */ color: rgb(52, 57, 122);
/* oklch */ color: oklch(37.7% 0.109 276.5);
Tailwind
colors: {
  custom: {
    50: '#726fa1',
    500: '#34397a',
    950: '#000000',
  },
}
SCSS
$custom: #34397a;
$custom-light: #726fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#34397a",
  "rgb": {
    "r": 52,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 235.714,
    "s": 40.23,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37705,
    "c": 0.10893,
    "h": 276.5
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#34397A
secondary
#A7A263
accent
#C758D0
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #34397A

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

Preview Lab → · Contrast checker → · Palette generator →

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