#343D94#343D94

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

Color values

HEX#343D94
RGBrgb(52, 61, 148)
HSLhsl(234, 48%, 39%)
HSVhsv(234, 65%, 58%)
CMYKcmyk(64.9%, 58.8%, 0%, 42%)
CIE-LABlab(29.92, 25.02, -49.15)
CIE-LCHlch(29.92, 55.15, 296.98°)
OKLaboklab(40.57% 0.0094 -0.1413)
OKLCHoklch(40.57% 0.142 273.8)
XYZxyz(8.4284, 6.2050, 28.7647)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343D94 #948B34
analogous
#346D94 #343D94 #5B3494
triadic
#343D94 #94343D #3D9434
tetradic
#343D94 #94346D #948B34 #34945B
square
#343D94 #94346D #948B34 #34945B
split-complementary
#343D94 #945B34 #6D9434
monochromatic
#141839 #242A67 #343D94 #4752BE #747DCE

Accessibility & contrast

On white

9.37
#343D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#343D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343D94
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343D94#FFFFFF#000000##FFFFFF
##343D941.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343d94;
/* rgb */ color: rgb(52, 61, 148);
/* oklch */ color: oklch(40.6% 0.142 273.8);
Tailwind
colors: {
  custom: {
    50: '#7672b4',
    500: '#343d94',
    950: '#000000',
  },
}
SCSS
$custom: #343d94;
$custom-light: #7672b4;
$custom-dark: #000000;
JSON
{
  "hex": "#343d94",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 234.375,
    "s": 48,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40574,
    "c": 0.14166,
    "h": 273.8
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#343D94
secondary
#B7B06D
accent
#CB50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #343D94

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

Preview Lab → · Contrast checker → · Palette generator →

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