#343C7E#343C7E

#343C7E is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.6% C 0.111 H 274.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#343C7E
RGBrgb(52, 60, 126)
HSLhsl(234, 42%, 35%)
HSVhsv(234, 59%, 49%)
CMYKcmyk(58.7%, 52.4%, 0%, 50.6%)
CIE-LABlab(28.03, 17.76, -38.59)
CIE-LCHlch(28.03, 42.48, 294.71°)
OKLaboklab(38.64% 0.0092 -0.1103)
OKLCHoklch(38.64% 0.111 274.8)
XYZxyz(6.7967, 5.4677, 20.4318)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C7E #7E7634
analogous
#34617E #343C7E #51347E
triadic
#343C7E #7E343C #3C7E34
tetradic
#343C7E #7E3461 #7E7634 #347E51
square
#343C7E #7E3461 #7E7634 #347E51
split-complementary
#343C7E #7E5134 #617E34
monochromatic
#101327 #222753 #343C7E #4651A9 #6B74C2

Accessibility & contrast

On white

10.03
#343C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#343C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343C7E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343C7E#FFFFFF#000000##FFFFFF
##343C7E1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4580
Deuteranopia (green-blind)
#0D3F7D
Tritanopia (blue-blind)
#084B57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #343c7e;
/* rgb */ color: rgb(52, 60, 126);
/* oklch */ color: oklch(38.6% 0.111 274.8);
Tailwind
colors: {
  custom: {
    50: '#7271a4',
    500: '#343c7e',
    950: '#000000',
  },
}
SCSS
$custom: #343c7e;
$custom-light: #7271a4;
$custom-dark: #000000;
JSON
{
  "hex": "#343c7e",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 126
  },
  "hsl": {
    "h": 233.514,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38638,
    "c": 0.11069,
    "h": 274.8
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#343C7E
secondary
#AAA264
accent
#C456D1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #343C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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