#34347D#34347D

#34347D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.121 H 278.7°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#34347D
RGBrgb(52, 52, 125)
HSLhsl(240, 41%, 35%)
HSVhsv(240, 58%, 49%)
CMYKcmyk(58.4%, 58.4%, 0%, 51%)
CIE-LABlab(25.76, 22.82, -41.62)
CIE-LCHlch(25.76, 47.46, 298.74°)
OKLaboklab(36.92% 0.0183 -0.1193)
OKLCHoklch(36.92% 0.121 278.7)
XYZxyz(6.3447, 4.6663, 19.9644)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34347D #7D7D34
analogous
#34597D #34347D #59347D
triadic
#34347D #7D3434 #347D34
tetradic
#34347D #7D3459 #7D7D34 #347D59
square
#34347D #7D3459 #7D7D34 #347D59
split-complementary
#34347D #7D5934 #597D34
monochromatic
#101027 #222252 #34347D #4646A8 #6A6AC1

Accessibility & contrast

On white

10.86
#34347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#34347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34347D
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34347D#FFFFFF#000000##FFFFFF
##34347D1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#0C4553
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #34347d;
/* rgb */ color: rgb(52, 52, 125);
/* oklch */ color: oklch(36.9% 0.121 278.7);
Tailwind
colors: {
  custom: {
    50: '#736ba3',
    500: '#34347d',
    950: '#000000',
  },
}
SCSS
$custom: #34347d;
$custom-light: #736ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#34347d",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 240,
    "s": 41.243,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36918,
    "c": 0.12067,
    "h": 278.7
  },
  "luminance": 0.04667
}

Semantic roles & 50–950 ramp

primary
#34347D
secondary
#A9A964
accent
#D157D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #34347D

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

Preview Lab → · Contrast checker → · Palette generator →

#34347D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva