#343EAC#343EAC

#343EAC is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.173 H 272.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#343EAC
RGBrgb(52, 62, 172)
HSLhsl(235, 54%, 44%)
HSVhsv(235, 70%, 67%)
CMYKcmyk(69.8%, 64%, 0%, 32.5%)
CIE-LABlab(32.15, 32.99, -60.03)
CIE-LCHlch(32.15, 68.50, 298.79°)
OKLaboklab(42.84% 0.0079 -0.1733)
OKLCHoklch(42.84% 0.173 272.6)
XYZxyz(10.5827, 7.1529, 39.8447)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EAC #ACA234
analogous
#347AAC #343EAC #6634AC
triadic
#343EAC #AC343E #3EAC34
tetradic
#343EAC #AC347A #ACA234 #34AC66
square
#343EAC #AC347A #ACA234 #34AC66
split-complementary
#343EAC #AC6634 #7AAC34
monochromatic
#181C4E #262D7D #343EAC #525CCB #8189D9

Accessibility & contrast

On white

8.64
#343EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#343EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EAC
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EAC#FFFFFF#000000##FFFFFF
##343EAC1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343eac;
/* rgb */ color: rgb(52, 62, 172);
/* oklch */ color: oklch(42.8% 0.173 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c73c6',
    500: '#343eac',
    950: '#000000',
  },
}
SCSS
$custom: #343eac;
$custom-light: #7c73c6;
$custom-dark: #000000;
JSON
{
  "hex": "#343eac",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 235,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.17348,
    "h": 272.6
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#343EAC
secondary
#C2BC79
accent
#D14BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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