#343E5F#343E5F

#343E5F is a dark, muted blue. Relative luminance 0.050; OKLCH L 37.0% C 0.059 H 270.5°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#343E5F
RGBrgb(52, 62, 95)
HSLhsl(226, 29%, 29%)
HSVhsv(226, 45%, 37%)
CMYKcmyk(45.3%, 34.7%, 0%, 62.7%)
CIE-LABlab(26.74, 5.64, -20.89)
CIE-LCHlch(26.74, 21.64, 285.11°)
OKLaboklab(37.04% 0.0005 -0.0585)
OKLCHoklch(37.04% 0.059 270.5)
XYZxyz(5.2037, 5.0013, 11.5154)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343E5F #5F5534
analogous
#34545F #343E5F #40345F
triadic
#343E5F #5F343E #3E5F34
tetradic
#343E5F #5F3454 #5F5534 #345F40
square
#343E5F #5F3454 #5F5534 #345F40
split-complementary
#343E5F #5F4034 #545F34
monochromatic
#0B0D14 #1E2437 #343E5F #4A5887 #6474AA

Accessibility & contrast

On white

10.50
#343E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#343E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343E5F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343E5F#FFFFFF#000000##FFFFFF
##343E5F1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324160
Deuteranopia (green-blind)
#2F3E5E
Tritanopia (blue-blind)
#26454A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #343e5f;
/* rgb */ color: rgb(52, 62, 95);
/* oklch */ color: oklch(37.0% 0.059 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e738c',
    500: '#343e5f',
    950: '#000000',
  },
}
SCSS
$custom: #343e5f;
$custom-light: #6e738c;
$custom-dark: #000000;
JSON
{
  "hex": "#343e5f",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 95
  },
  "hsl": {
    "h": 226.047,
    "s": 29.252,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37042,
    "c": 0.05853,
    "h": 270.5
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#343E5F
secondary
#90845F
accent
#AE62C6
background
#F6F6F8
surface
#ECECF0
border
#C7C7CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #343E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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