#343E8D#343E8D

#343E8D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.130 H 273.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#343E8D
RGBrgb(52, 62, 141)
HSLhsl(233, 46%, 38%)
HSVhsv(233, 63%, 55%)
CMYKcmyk(63.1%, 56%, 0%, 44.7%)
CIE-LABlab(29.66, 21.82, -45.28)
CIE-LCHlch(29.66, 50.27, 295.72°)
OKLaboklab(40.21% 0.0082 -0.13)
OKLCHoklch(40.21% 0.13 273.6)
XYZxyz(7.9449, 6.0978, 25.9524)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343E8D #8D8334
analogous
#346B8D #343E8D #56348D
triadic
#343E8D #8D343E #3E8D34
tetradic
#343E8D #8D346B #8D8334 #348D56
square
#343E8D #8D346B #8D8334 #348D56
split-complementary
#343E8D #8D5634 #6B8D34
monochromatic
#131734 #242A60 #343E8D #4452BA #717BCB

Accessibility & contrast

On white

9.46
#343E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#343E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343E8D
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343E8D#FFFFFF#000000##FFFFFF
##343E8D1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054A90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #343e8d;
/* rgb */ color: rgb(52, 62, 141);
/* oklch */ color: oklch(40.2% 0.130 273.6);
Tailwind
colors: {
  custom: {
    50: '#7573af',
    500: '#343e8d',
    950: '#000000',
  },
}
SCSS
$custom: #343e8d;
$custom-light: #7573af;
$custom-dark: #000000;
JSON
{
  "hex": "#343e8d",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 233.258,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40207,
    "c": 0.13022,
    "h": 273.6
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#343E8D
secondary
#B3AB6A
accent
#C752D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #343E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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