#343B95#343B95

#343B95 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.146 H 274.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#343B95
RGBrgb(52, 59, 149)
HSLhsl(236, 48%, 39%)
HSVhsv(236, 65%, 58%)
CMYKcmyk(65.1%, 60.4%, 0%, 41.6%)
CIE-LABlab(29.48, 26.70, -50.48)
CIE-LCHlch(29.48, 57.11, 297.88°)
OKLaboklab(40.27% 0.0112 -0.1453)
OKLCHoklch(40.27% 0.146 274.4)
XYZxyz(8.4032, 6.0272, 29.1485)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B95 #958E34
analogous
#346C95 #343B95 #5E3495
triadic
#343B95 #95343B #3B9534
tetradic
#343B95 #95346C #958E34 #34955E
square
#343B95 #95346C #958E34 #34955E
split-complementary
#343B95 #955E34 #6C9534
monochromatic
#14173A #242968 #343B95 #4750BF #757BCF

Accessibility & contrast

On white

9.52
#343B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#343B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343B95
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B95#FFFFFF#000000##FFFFFF
##343B951.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #343b95;
/* rgb */ color: rgb(52, 59, 149);
/* oklch */ color: oklch(40.3% 0.146 274.4);
Tailwind
colors: {
  custom: {
    50: '#7771b5',
    500: '#343b95',
    950: '#000000',
  },
}
SCSS
$custom: #343b95;
$custom-light: #7771b5;
$custom-dark: #000000;
JSON
{
  "hex": "#343b95",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 235.67,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40271,
    "c": 0.14572,
    "h": 274.4
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#343B95
secondary
#B7B26E
accent
#CE50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #343B95

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

Preview Lab → · Contrast checker → · Palette generator →

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