#343D93#343D93

#343D93 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.140 H 273.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#343D93
RGBrgb(52, 61, 147)
HSLhsl(234, 48%, 39%)
HSVhsv(234, 65%, 58%)
CMYKcmyk(64.6%, 58.5%, 0%, 42.4%)
CIE-LABlab(29.85, 24.66, -48.67)
CIE-LCHlch(29.85, 54.56, 296.87°)
OKLaboklab(40.49% 0.0094 -0.1399)
OKLCHoklch(40.49% 0.14 273.8)
XYZxyz(8.3496, 6.1734, 28.3497)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343D93 #938A34
analogous
#346D93 #343D93 #5B3493
triadic
#343D93 #93343D #3D9334
tetradic
#343D93 #93346D #938A34 #34935B
square
#343D93 #93346D #938A34 #34935B
split-complementary
#343D93 #935B34 #6D9334
monochromatic
#141739 #242A66 #343D93 #4652BE #747CCE

Accessibility & contrast

On white

9.40
#343D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#343D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343D93
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343D93#FFFFFF#000000##FFFFFF
##343D931.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #343d93;
/* rgb */ color: rgb(52, 61, 147);
/* oklch */ color: oklch(40.5% 0.140 273.8);
Tailwind
colors: {
  custom: {
    50: '#7672b3',
    500: '#343d93',
    950: '#000000',
  },
}
SCSS
$custom: #343d93;
$custom-light: #7672b3;
$custom-dark: #000000;
JSON
{
  "hex": "#343d93",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 147
  },
  "hsl": {
    "h": 234.316,
    "s": 47.739,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40492,
    "c": 0.14023,
    "h": 273.8
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#343D93
secondary
#B6AF6D
accent
#CB50D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #343D93

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

Preview Lab → · Contrast checker → · Palette generator →

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