#343AAE#343AAE

#343AAE is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.181 H 273.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#343AAE
RGBrgb(52, 58, 174)
HSLhsl(237, 54%, 44%)
HSVhsv(237, 70%, 68%)
CMYKcmyk(70.1%, 66.7%, 0%, 31.8%)
CIE-LABlab(31.37, 36.23, -62.50)
CIE-LCHlch(31.37, 72.24, 300.10°)
OKLaboklab(42.32% 0.0106 -0.1806)
OKLCHoklch(42.32% 0.181 273.4)
XYZxyz(10.5667, 6.8112, 40.7940)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AAE #AEA834
analogous
#3477AE #343AAE #6B34AE
triadic
#343AAE #AE343A #3AAE34
tetradic
#343AAE #AE3477 #AEA834 #34AE6B
square
#343AAE #AE3477 #AEA834 #34AE6B
split-complementary
#343AAE #AE6B34 #77AE34
monochromatic
#181B50 #262A7F #343AAE #5359CC #8387DA

Accessibility & contrast

On white

8.89
#343AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#343AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AAE
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AAE#FFFFFF#000000##FFFFFF
##343AAE1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #343aae;
/* rgb */ color: rgb(52, 58, 174);
/* oklch */ color: oklch(42.3% 0.181 273.4);
Tailwind
colors: {
  custom: {
    50: '#7c70c7',
    500: '#343aae',
    950: '#000000',
  },
}
SCSS
$custom: #343aae;
$custom-light: #7c70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#343aae",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 237.049,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42322,
    "c": 0.18087,
    "h": 273.4
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#343AAE
secondary
#C3C07B
accent
#D64ADD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #343AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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