#343FAF#343FAF

#343FAF is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.176 H 272.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#343FAF
RGBrgb(52, 63, 175)
HSLhsl(235, 54%, 45%)
HSVhsv(235, 70%, 69%)
CMYKcmyk(70.3%, 64%, 0%, 31.4%)
CIE-LABlab(32.66, 33.42, -61.00)
CIE-LCHlch(32.66, 69.55, 298.71°)
OKLaboklab(43.29% 0.007 -0.1761)
OKLCHoklch(43.29% 0.176 272.3)
XYZxyz(10.9289, 7.3792, 41.3975)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FAF #AFA434
analogous
#347DAF #343FAF #6734AF
triadic
#343FAF #AF343F #3FAF34
tetradic
#343FAF #AF347D #AFA434 #34AF67
square
#343FAF #AF347D #AFA434 #34AF67
split-complementary
#343FAF #AF6734 #7DAF34
monochromatic
#181D51 #262E80 #343FAF #545FCC #838BDA

Accessibility & contrast

On white

8.48
#343FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#343FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FAF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FAF#FFFFFF#000000##FFFFFF
##343FAF1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #343faf;
/* rgb */ color: rgb(52, 63, 175);
/* oklch */ color: oklch(43.3% 0.176 272.3);
Tailwind
colors: {
  custom: {
    50: '#7c74c8',
    500: '#343faf',
    950: '#000000',
  },
}
SCSS
$custom: #343faf;
$custom-light: #7c74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#343faf",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 234.634,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43286,
    "c": 0.17627,
    "h": 272.3
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#343FAF
secondary
#C4BD7B
accent
#D04ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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