#343E95#343E95

#343E95 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.142 H 273.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#343E95
RGBrgb(52, 62, 149)
HSLhsl(234, 48%, 39%)
HSVhsv(234, 65%, 58%)
CMYKcmyk(65.1%, 58.4%, 0%, 41.6%)
CIE-LABlab(30.27, 24.72, -49.21)
CIE-LCHlch(30.27, 55.07, 296.67°)
OKLaboklab(40.85% 0.0084 -0.1415)
OKLCHoklch(40.85% 0.142 273.4)
XYZxyz(8.5618, 6.3445, 29.2014)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343E95 #958B34
analogous
#346F95 #343E95 #5A3495
triadic
#343E95 #95343E #3E9534
tetradic
#343E95 #95346F #958B34 #34955A
square
#343E95 #95346F #958B34 #34955A
split-complementary
#343E95 #955A34 #6F9534
monochromatic
#14183A #242B68 #343E95 #4754BF #757ECF

Accessibility & contrast

On white

9.26
#343E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#343E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343E95
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343E95#FFFFFF#000000##FFFFFF
##343E951.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #343e95;
/* rgb */ color: rgb(52, 62, 149);
/* oklch */ color: oklch(40.9% 0.142 273.4);
Tailwind
colors: {
  custom: {
    50: '#7773b5',
    500: '#343e95',
    950: '#000000',
  },
}
SCSS
$custom: #343e95;
$custom-light: #7773b5;
$custom-dark: #000000;
JSON
{
  "hex": "#343e95",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 233.814,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40853,
    "c": 0.14176,
    "h": 273.4
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#343E95
secondary
#B7B06E
accent
#CA50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #343E95

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

Preview Lab → · Contrast checker → · Palette generator →

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