#343BA2#343BA2

#343BA2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.164 H 273.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#343BA2
RGBrgb(52, 59, 162)
HSLhsl(236, 51%, 42%)
HSVhsv(236, 68%, 64%)
CMYKcmyk(67.9%, 63.6%, 0%, 36.5%)
CIE-LABlab(30.56, 31.35, -56.63)
CIE-LCHlch(30.56, 64.73, 298.97°)
OKLaboklab(41.4% 0.0108 -0.1633)
OKLCHoklch(41.4% 0.164 273.8)
XYZxyz(9.4996, 6.4658, 34.9228)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BA2 #A29B34
analogous
#3472A2 #343BA2 #6434A2
triadic
#343BA2 #A2343B #3BA234
tetradic
#343BA2 #A23472 #A29B34 #34A264
square
#343BA2 #A23472 #A29B34 #34A264
split-complementary
#343BA2 #A26434 #72A234
monochromatic
#161945 #252A74 #343BA2 #4D55C6 #7C81D5

Accessibility & contrast

On white

9.16
#343BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#343BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BA2
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BA2#FFFFFF#000000##FFFFFF
##343BA21.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #343ba2;
/* rgb */ color: rgb(52, 59, 162);
/* oklch */ color: oklch(41.4% 0.164 273.8);
Tailwind
colors: {
  custom: {
    50: '#7a71be',
    500: '#343ba2',
    950: '#000000',
  },
}
SCSS
$custom: #343ba2;
$custom-light: #7a71be;
$custom-dark: #000000;
JSON
{
  "hex": "#343ba2",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 236.182,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41401,
    "c": 0.1637,
    "h": 273.8
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#343BA2
secondary
#BEB974
accent
#D24DDB
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #343BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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