#343BAE#343BAE

#343BAE is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.180 H 273.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#343BAE
RGBrgb(52, 59, 174)
HSLhsl(237, 54%, 44%)
HSVhsv(237, 70%, 68%)
CMYKcmyk(70.1%, 66.1%, 0%, 31.8%)
CIE-LABlab(31.61, 35.60, -62.12)
CIE-LCHlch(31.61, 71.60, 299.82°)
OKLaboklab(42.49% 0.0099 -0.1794)
OKLCHoklch(42.49% 0.18 273.2)
XYZxyz(10.6176, 6.9130, 40.8110)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BAE #AEA734
analogous
#3478AE #343BAE #6A34AE
triadic
#343BAE #AE343B #3BAE34
tetradic
#343BAE #AE3478 #AEA734 #34AE6A
square
#343BAE #AE3478 #AEA734 #34AE6A
split-complementary
#343BAE #AE6A34 #78AE34
monochromatic
#181B50 #262B7F #343BAE #535ACC #8388DA

Accessibility & contrast

On white

8.81
#343BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#343BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BAE
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BAE#FFFFFF#000000##FFFFFF
##343BAE1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #343bae;
/* rgb */ color: rgb(52, 59, 174);
/* oklch */ color: oklch(42.5% 0.180 273.2);
Tailwind
colors: {
  custom: {
    50: '#7c71c7',
    500: '#343bae',
    950: '#000000',
  },
}
SCSS
$custom: #343bae;
$custom-light: #7c71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#343bae",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 236.557,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42493,
    "c": 0.17971,
    "h": 273.2
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#343BAE
secondary
#C3BF7B
accent
#D54ADD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #343BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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