#343A95#343A95

#343A95 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.147 H 274.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#343A95
RGBrgb(52, 58, 149)
HSLhsl(236, 48%, 39%)
HSVhsv(236, 65%, 58%)
CMYKcmyk(65.1%, 61.1%, 0%, 41.6%)
CIE-LABlab(29.22, 27.36, -50.90)
CIE-LCHlch(29.22, 57.79, 298.26°)
OKLaboklab(40.08% 0.0121 -0.1465)
OKLCHoklch(40.08% 0.147 274.7)
XYZxyz(8.3523, 5.9254, 29.1315)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A95 #958F34
analogous
#346B95 #343A95 #5F3495
triadic
#343A95 #95343A #3A9534
tetradic
#343A95 #95346B #958F34 #34955F
square
#343A95 #95346B #958F34 #34955F
split-complementary
#343A95 #955F34 #6B9534
monochromatic
#14173A #242868 #343A95 #474FBF #757ACF

Accessibility & contrast

On white

9.61
#343A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#343A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A95
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A95#FFFFFF#000000##FFFFFF
##343A951.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #343a95;
/* rgb */ color: rgb(52, 58, 149);
/* oklch */ color: oklch(40.1% 0.147 274.7);
Tailwind
colors: {
  custom: {
    50: '#7770b5',
    500: '#343a95',
    950: '#000000',
  },
}
SCSS
$custom: #343a95;
$custom-light: #7770b5;
$custom-dark: #000000;
JSON
{
  "hex": "#343a95",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 236.289,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4008,
    "c": 0.14703,
    "h": 274.7
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#343A95
secondary
#B7B36E
accent
#CF50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #343A95

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

Preview Lab → · Contrast checker → · Palette generator →

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