#34397C#34397C

#34397C is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.9% C 0.112 H 276.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#34397C
RGBrgb(52, 57, 124)
HSLhsl(236, 41%, 35%)
HSVhsv(236, 58%, 49%)
CMYKcmyk(58.1%, 54%, 0%, 51.4%)
CIE-LABlab(27.05, 19.08, -38.91)
CIE-LCHlch(27.05, 43.34, 296.12°)
OKLaboklab(37.86% 0.0125 -0.1113)
OKLCHoklch(37.86% 0.112 276.4)
XYZxyz(6.5162, 5.1111, 19.7080)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34397C #7C7734
analogous
#345D7C #34397C #53347C
triadic
#34397C #7C3439 #397C34
tetradic
#34397C #7C345D #7C7734 #347C53
square
#34397C #7C345D #7C7734 #347C53
split-complementary
#34397C #7C5334 #5D7C34
monochromatic
#101126 #222551 #34397C #464DA7 #6A70C0

Accessibility & contrast

On white

10.38
#34397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#34397C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34397C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34397C#FFFFFF#000000##FFFFFF
##34397C1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14437E
Deuteranopia (green-blind)
#063D7B
Tritanopia (blue-blind)
#0D4854
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #34397c;
/* rgb */ color: rgb(52, 57, 124);
/* oklch */ color: oklch(37.9% 0.112 276.4);
Tailwind
colors: {
  custom: {
    50: '#726fa2',
    500: '#34397c',
    950: '#000000',
  },
}
SCSS
$custom: #34397c;
$custom-light: #726fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#34397c",
  "rgb": {
    "r": 52,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 235.833,
    "s": 40.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37856,
    "c": 0.11197,
    "h": 276.4
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#34397C
secondary
#A9A463
accent
#C857D1
background
#F7F6FA
surface
#EDECF3
border
#C8C7CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #34397C

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

Preview Lab → · Contrast checker → · Palette generator →

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