#343D7E#343D7E

#343D7E is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.9% C 0.109 H 274.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#343D7E
RGBrgb(52, 61, 126)
HSLhsl(233, 42%, 35%)
HSVhsv(233, 59%, 49%)
CMYKcmyk(58.7%, 51.6%, 0%, 50.6%)
CIE-LABlab(28.31, 17.08, -38.14)
CIE-LCHlch(28.31, 41.79, 294.13°)
OKLaboklab(38.85% 0.0081 -0.1089)
OKLCHoklch(38.85% 0.109 274.2)
XYZxyz(6.8496, 5.5734, 20.4495)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343D7E #7E7534
analogous
#34627E #343D7E #50347E
triadic
#343D7E #7E343D #3D7E34
tetradic
#343D7E #7E3462 #7E7534 #347E50
square
#343D7E #7E3462 #7E7534 #347E50
split-complementary
#343D7E #7E5034 #627E34
monochromatic
#101327 #222853 #343D7E #4652A9 #6B75C2

Accessibility & contrast

On white

9.93
#343D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#343D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343D7E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343D7E#FFFFFF#000000##FFFFFF
##343D7E1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4680
Deuteranopia (green-blind)
#10407D
Tritanopia (blue-blind)
#074C57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #343d7e;
/* rgb */ color: rgb(52, 61, 126);
/* oklch */ color: oklch(38.9% 0.109 274.2);
Tailwind
colors: {
  custom: {
    50: '#7272a4',
    500: '#343d7e',
    950: '#000000',
  },
}
SCSS
$custom: #343d7e;
$custom-light: #7272a4;
$custom-dark: #000000;
JSON
{
  "hex": "#343d7e",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 126
  },
  "hsl": {
    "h": 232.703,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38851,
    "c": 0.10925,
    "h": 274.2
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#343D7E
secondary
#AAA164
accent
#C256D1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #343D7E

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

Preview Lab → · Contrast checker → · Palette generator →

#343D7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva