#343AAF#343AAF

#343AAF is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.182 H 273.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#343AAF
RGBrgb(52, 58, 175)
HSLhsl(237, 54%, 45%)
HSVhsv(237, 70%, 69%)
CMYKcmyk(70.3%, 66.9%, 0%, 31.4%)
CIE-LABlab(31.46, 36.57, -62.95)
CIE-LCHlch(31.46, 72.81, 300.16°)
OKLaboklab(42.42% 0.0105 -0.1819)
OKLCHoklch(42.42% 0.182 273.3)
XYZxyz(10.6645, 6.8503, 41.3093)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AAF #AFA934
analogous
#3478AF #343AAF #6C34AF
triadic
#343AAF #AF343A #3AAF34
tetradic
#343AAF #AF3478 #AFA934 #34AF6C
square
#343AAF #AF3478 #AFA934 #34AF6C
split-complementary
#343AAF #AF6C34 #78AF34
monochromatic
#181B51 #262A80 #343AAF #545ACC #8387DA

Accessibility & contrast

On white

8.86
#343AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#343AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AAF
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AAF#FFFFFF#000000##FFFFFF
##343AAF1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #343aaf;
/* rgb */ color: rgb(52, 58, 175);
/* oklch */ color: oklch(42.4% 0.182 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d70c8',
    500: '#343aaf',
    950: '#000000',
  },
}
SCSS
$custom: #343aaf;
$custom-light: #7d70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#343aaf",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 237.073,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42416,
    "c": 0.18218,
    "h": 273.3
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#343AAF
secondary
#C4C07B
accent
#D64ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #343AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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