#343F96#343F96

#343F96 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.142 H 273.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#343F96
RGBrgb(52, 63, 150)
HSLhsl(233, 49%, 40%)
HSVhsv(233, 65%, 59%)
CMYKcmyk(65.3%, 58%, 0%, 41.2%)
CIE-LABlab(30.61, 24.41, -49.26)
CIE-LCHlch(30.61, 54.98, 296.36°)
OKLaboklab(41.13% 0.0075 -0.1417)
OKLCHoklch(41.13% 0.142 273)
XYZxyz(8.6969, 6.4863, 29.6419)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343F96 #968B34
analogous
#347096 #343F96 #5A3496
triadic
#343F96 #96343F #3F9634
tetradic
#343F96 #963470 #968B34 #34965A
square
#343F96 #963470 #968B34 #34965A
split-complementary
#343F96 #965A34 #709634
monochromatic
#14193B #242C69 #343F96 #4855BF #757FCF

Accessibility & contrast

On white

9.14
#343F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#343F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343F96
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343F96#FFFFFF#000000##FFFFFF
##343F961.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #343f96;
/* rgb */ color: rgb(52, 63, 150);
/* oklch */ color: oklch(41.1% 0.142 273.0);
Tailwind
colors: {
  custom: {
    50: '#7773b6',
    500: '#343f96',
    950: '#000000',
  },
}
SCSS
$custom: #343f96;
$custom-light: #7773b6;
$custom-dark: #000000;
JSON
{
  "hex": "#343f96",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 233.265,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41133,
    "c": 0.14186,
    "h": 273
  },
  "luminance": 0.06487
}

Semantic roles & 50–950 ramp

primary
#343F96
secondary
#B8AF6E
accent
#C950D8
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #343F96

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

Preview Lab → · Contrast checker → · Palette generator →

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