#343C95#343C95

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

Color values

HEX#343C95
RGBrgb(52, 60, 149)
HSLhsl(235, 48%, 39%)
HSVhsv(235, 65%, 58%)
CMYKcmyk(65.1%, 59.7%, 0%, 41.6%)
CIE-LABlab(29.74, 26.04, -50.06)
CIE-LCHlch(29.74, 56.43, 297.49°)
OKLaboklab(40.46% 0.0103 -0.144)
OKLCHoklch(40.46% 0.144 274.1)
XYZxyz(8.4551, 6.1310, 29.1658)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C95 #958D34
analogous
#346C95 #343C95 #5D3495
triadic
#343C95 #95343C #3C9534
tetradic
#343C95 #95346C #958D34 #34955D
square
#343C95 #95346C #958D34 #34955D
split-complementary
#343C95 #955D34 #6C9534
monochromatic
#14173A #242A68 #343C95 #4751BF #757CCF

Accessibility & contrast

On white

9.43
#343C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343C95
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343C95#FFFFFF#000000##FFFFFF
##343C951.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343c95;
/* rgb */ color: rgb(52, 60, 149);
/* oklch */ color: oklch(40.5% 0.144 274.1);
Tailwind
colors: {
  custom: {
    50: '#7771b5',
    500: '#343c95',
    950: '#000000',
  },
}
SCSS
$custom: #343c95;
$custom-light: #7771b5;
$custom-dark: #000000;
JSON
{
  "hex": "#343c95",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 235.052,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40463,
    "c": 0.14441,
    "h": 274.1
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#343C95
secondary
#B7B16E
accent
#CD50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #343C95

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

Preview Lab → · Contrast checker → · Palette generator →

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