#343FA3#343FA3

#343FA3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.160 H 272.7°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#343FA3
RGBrgb(52, 63, 163)
HSLhsl(234, 52%, 42%)
HSVhsv(234, 68%, 64%)
CMYKcmyk(68.1%, 61.3%, 0%, 36.1%)
CIE-LABlab(31.64, 29.12, -55.46)
CIE-LCHlch(31.64, 62.64, 297.70°)
OKLaboklab(42.23% 0.0075 -0.1599)
OKLCHoklch(42.23% 0.16 272.7)
XYZxyz(9.8023, 6.9285, 35.4640)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FA3 #A39834
analogous
#3477A3 #343FA3 #6134A3
triadic
#343FA3 #A3343F #3FA334
tetradic
#343FA3 #A33477 #A39834 #34A361
square
#343FA3 #A33477 #A39834 #34A361
split-complementary
#343FA3 #A36134 #77A334
monochromatic
#161B46 #252D75 #343FA3 #4E5AC6 #7C85D5

Accessibility & contrast

On white

8.80
#343FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#343FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FA3
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FA3#FFFFFF#000000##FFFFFF
##343FA31.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #343fa3;
/* rgb */ color: rgb(52, 63, 163);
/* oklch */ color: oklch(42.2% 0.160 272.7);
Tailwind
colors: {
  custom: {
    50: '#7974bf',
    500: '#343fa3',
    950: '#000000',
  },
}
SCSS
$custom: #343fa3;
$custom-light: #7974bf;
$custom-dark: #000000;
JSON
{
  "hex": "#343fa3",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 234.054,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42227,
    "c": 0.16006,
    "h": 272.7
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#343FA3
secondary
#BEB775
accent
#CD4DDB
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #343FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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