#343FA8#343FA8

#343FA8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.167 H 272.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#343FA8
RGBrgb(52, 63, 168)
HSLhsl(234, 53%, 43%)
HSVhsv(234, 69%, 66%)
CMYKcmyk(69%, 62.5%, 0%, 34.1%)
CIE-LABlab(32.06, 30.91, -57.79)
CIE-LCHlch(32.06, 65.54, 298.14°)
OKLaboklab(42.66% 0.0074 -0.1667)
OKLCHoklch(42.66% 0.167 272.5)
XYZxyz(10.2592, 7.1113, 37.8701)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FA8 #A89D34
analogous
#3479A8 #343FA8 #6334A8
triadic
#343FA8 #A8343F #3FA834
tetradic
#343FA8 #A83479 #A89D34 #34A863
square
#343FA8 #A83479 #A89D34 #34A863
split-complementary
#343FA8 #A86334 #79A834
monochromatic
#171C4B #262D79 #343FA8 #505CC9 #7F87D7

Accessibility & contrast

On white

8.67
#343FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#343FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FA8
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FA8#FFFFFF#000000##FFFFFF
##343FA81.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343fa8;
/* rgb */ color: rgb(52, 63, 168);
/* oklch */ color: oklch(42.7% 0.167 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b74c3',
    500: '#343fa8',
    950: '#000000',
  },
}
SCSS
$custom: #343fa8;
$custom-light: #7b74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#343fa8",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 234.31,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42663,
    "c": 0.16687,
    "h": 272.5
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#343FA8
secondary
#C0BA77
accent
#CE4CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #343FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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