#343C94#343C94

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

Color values

HEX#343C94
RGBrgb(52, 60, 148)
HSLhsl(235, 48%, 39%)
HSVhsv(235, 65%, 58%)
CMYKcmyk(64.9%, 59.5%, 0%, 42%)
CIE-LABlab(29.66, 25.68, -49.58)
CIE-LCHlch(29.66, 55.84, 297.39°)
OKLaboklab(40.38% 0.0103 -0.1426)
OKLCHoklch(40.38% 0.143 274.1)
XYZxyz(8.3756, 6.0992, 28.7471)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C94 #948C34
analogous
#346C94 #343C94 #5C3494
triadic
#343C94 #94343C #3C9434
tetradic
#343C94 #94346C #948C34 #34945C
square
#343C94 #94346C #948C34 #34945C
split-complementary
#343C94 #945C34 #6C9434
monochromatic
#141739 #242A67 #343C94 #4751BE #747CCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##343C94#FFFFFF#000000##FFFFFF
##343C941.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)
#004A97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #343c94;
/* rgb */ color: rgb(52, 60, 148);
/* oklch */ color: oklch(40.4% 0.143 274.1);
Tailwind
colors: {
  custom: {
    50: '#7771b4',
    500: '#343c94',
    950: '#000000',
  },
}
SCSS
$custom: #343c94;
$custom-light: #7771b4;
$custom-dark: #000000;
JSON
{
  "hex": "#343c94",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 148
  },
  "hsl": {
    "h": 235,
    "s": 48,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.14299,
    "h": 274.1
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#343C94
secondary
#B7B06D
accent
#CC50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #343C94

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

Preview Lab → · Contrast checker → · Palette generator →

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