#343BA5#343BA5

#343BA5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.168 H 273.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#343BA5
RGBrgb(52, 59, 165)
HSLhsl(236, 52%, 43%)
HSVhsv(236, 68%, 65%)
CMYKcmyk(68.5%, 64.2%, 0%, 35.3%)
CIE-LABlab(30.82, 32.42, -58.02)
CIE-LCHlch(30.82, 66.46, 299.20°)
OKLaboklab(41.67% 0.0106 -0.1674)
OKLCHoklch(41.67% 0.168 273.6)
XYZxyz(9.7694, 6.5737, 36.3440)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BA5 #A59E34
analogous
#3474A5 #343BA5 #6534A5
triadic
#343BA5 #A5343B #3BA534
tetradic
#343BA5 #A53474 #A59E34 #34A565
square
#343BA5 #A53474 #A59E34 #34A565
split-complementary
#343BA5 #A56534 #74A534
monochromatic
#171A48 #252A76 #343BA5 #4F56C7 #7D83D6

Accessibility & contrast

On white

9.07
#343BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#343BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BA5
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BA5#FFFFFF#000000##FFFFFF
##343BA51.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #343ba5;
/* rgb */ color: rgb(52, 59, 165);
/* oklch */ color: oklch(41.7% 0.168 273.6);
Tailwind
colors: {
  custom: {
    50: '#7a71c1',
    500: '#343ba5',
    950: '#000000',
  },
}
SCSS
$custom: #343ba5;
$custom-light: #7a71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#343ba5",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 236.283,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4167,
    "c": 0.16775,
    "h": 273.6
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#343BA5
secondary
#BFBB76
accent
#D34CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #343BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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