#343EAF#343EAF

#343EAF is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.177 H 272.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#343EAF
RGBrgb(52, 62, 175)
HSLhsl(235, 54%, 45%)
HSVhsv(235, 70%, 69%)
CMYKcmyk(70.3%, 64.6%, 0%, 31.4%)
CIE-LABlab(32.41, 34.05, -61.40)
CIE-LCHlch(32.41, 70.21, 299.02°)
OKLaboklab(43.11% 0.0077 -0.1773)
OKLCHoklch(43.11% 0.177 272.5)
XYZxyz(10.8741, 7.2694, 41.3792)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EAF #AFA534
analogous
#347CAF #343EAF #6834AF
triadic
#343EAF #AF343E #3EAF34
tetradic
#343EAF #AF347C #AFA534 #34AF68
square
#343EAF #AF347C #AFA534 #34AF68
split-complementary
#343EAF #AF6834 #7CAF34
monochromatic
#181D51 #262D80 #343EAF #545ECC #838ADA

Accessibility & contrast

On white

8.56
#343EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#343EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EAF
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EAF#FFFFFF#000000##FFFFFF
##343EAF1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343eaf;
/* rgb */ color: rgb(52, 62, 175);
/* oklch */ color: oklch(43.1% 0.177 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c73c8',
    500: '#343eaf',
    950: '#000000',
  },
}
SCSS
$custom: #343eaf;
$custom-light: #7c73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#343eaf",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 235.122,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43108,
    "c": 0.17747,
    "h": 272.5
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#343EAF
secondary
#C4BE7B
accent
#D24ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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