#34347B#34347B

#34347B is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.8% C 0.118 H 278.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#34347B
RGBrgb(52, 52, 123)
HSLhsl(240, 41%, 34%)
HSVhsv(240, 58%, 48%)
CMYKcmyk(57.7%, 57.7%, 0%, 51.8%)
CIE-LABlab(25.61, 22.11, -40.60)
CIE-LCHlch(25.61, 46.23, 298.58°)
OKLaboklab(36.76% 0.0182 -0.1163)
OKLCHoklch(36.76% 0.118 278.9)
XYZxyz(6.2182, 4.6157, 19.2983)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34347B #7B7B34
analogous
#34587B #34347B #58347B
triadic
#34347B #7B3434 #347B34
tetradic
#34347B #7B3458 #7B7B34 #347B58
square
#34347B #7B3458 #7B7B34 #347B58
split-complementary
#34347B #7B5834 #587B34
monochromatic
#101025 #222250 #34347B #4646A6 #6A6AC0

Accessibility & contrast

On white

10.92
#34347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#34347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34347B
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34347B#FFFFFF#000000##FFFFFF
##34347B1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03407D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#104452
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #34347b;
/* rgb */ color: rgb(52, 52, 123);
/* oklch */ color: oklch(36.8% 0.118 278.9);
Tailwind
colors: {
  custom: {
    50: '#726ba2',
    500: '#34347b',
    950: '#000000',
  },
}
SCSS
$custom: #34347b;
$custom-light: #726ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#34347b",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 240,
    "s": 40.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36757,
    "c": 0.11771,
    "h": 278.9
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

primary
#34347B
secondary
#A8A863
accent
#D057D0
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #34347B

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

Preview Lab → · Contrast checker → · Palette generator →

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