#343B94#343B94

#343B94 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.144 H 274.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#343B94
RGBrgb(52, 59, 148)
HSLhsl(236, 48%, 39%)
HSVhsv(236, 65%, 58%)
CMYKcmyk(64.9%, 60.1%, 0%, 42%)
CIE-LABlab(29.40, 26.35, -50.00)
CIE-LCHlch(29.40, 56.52, 297.78°)
OKLaboklab(40.19% 0.0112 -0.1439)
OKLCHoklch(40.19% 0.144 274.5)
XYZxyz(8.3237, 5.9954, 28.7298)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B94 #948D34
analogous
#346B94 #343B94 #5D3494
triadic
#343B94 #94343B #3B9434
tetradic
#343B94 #94346B #948D34 #34945D
square
#343B94 #94346B #948D34 #34945D
split-complementary
#343B94 #945D34 #6B9434
monochromatic
#141739 #242967 #343B94 #4750BE #747BCE

Accessibility & contrast

On white

9.55
#343B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#343B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343B94
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B94#FFFFFF#000000##FFFFFF
##343B941.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #343b94;
/* rgb */ color: rgb(52, 59, 148);
/* oklch */ color: oklch(40.2% 0.144 274.5);
Tailwind
colors: {
  custom: {
    50: '#7771b4',
    500: '#343b94',
    950: '#000000',
  },
}
SCSS
$custom: #343b94;
$custom-light: #7771b4;
$custom-dark: #000000;
JSON
{
  "hex": "#343b94",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 148
  },
  "hsl": {
    "h": 235.625,
    "s": 48,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40186,
    "c": 0.14431,
    "h": 274.5
  },
  "luminance": 0.05996
}

Semantic roles & 50–950 ramp

primary
#343B94
secondary
#B7B16D
accent
#CE50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #343B94

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

Preview Lab → · Contrast checker → · Palette generator →

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